aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-09-08 12:31:11 +0200
committerGitHub <[email protected]>2022-09-08 03:31:11 -0700
commit15e034da3f567c9053b0464e8a002d08e6d18b78 (patch)
tree7782fd2f4e3e86c325d405c5969c7b5f1a78d059 /zenserver/upstream/upstreamcache.cpp
parentRemove legacy code (#161) (diff)
downloadzen-15e034da3f567c9053b0464e8a002d08e6d18b78.tar.xz
zen-15e034da3f567c9053b0464e8a002d08e6d18b78.zip
Adjust errors vs warnings messages (#160)
* demote a number of ZEN_ERROR to ZEN_WARN * changelog
Diffstat (limited to 'zenserver/upstream/upstreamcache.cpp')
-rw-r--r--zenserver/upstream/upstreamcache.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/zenserver/upstream/upstreamcache.cpp b/zenserver/upstream/upstreamcache.cpp
index e92dde815..e8f7450fd 100644
--- a/zenserver/upstream/upstreamcache.cpp
+++ b/zenserver/upstream/upstreamcache.cpp
@@ -1497,10 +1497,10 @@ public:
{
Stats.CacheErrorCount.Increment(1);
- ZEN_ERROR("get cache record FAILED, endpoint '{}', reason '{}', error code '{}'",
- Endpoint->GetEndpointInfo().Url,
- Result.Error.Reason,
- Result.Error.ErrorCode);
+ ZEN_WARN("get cache record FAILED, endpoint '{}', reason '{}', error code '{}'",
+ Endpoint->GetEndpointInfo().Url,
+ Result.Error.Reason,
+ Result.Error.ErrorCode);
}
}
}
@@ -1559,10 +1559,10 @@ public:
{
Stats.CacheErrorCount.Increment(1);
- ZEN_ERROR("get cache record(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
- Endpoint->GetEndpointInfo().Url,
- Result.Error.Reason,
- Result.Error.ErrorCode);
+ ZEN_WARN("get cache record(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
+ Endpoint->GetEndpointInfo().Url,
+ Result.Error.Reason,
+ Result.Error.ErrorCode);
}
RemainingKeys = std::move(Missing);
@@ -1626,10 +1626,10 @@ public:
{
Stats.CacheErrorCount.Increment(1);
- ZEN_ERROR("get cache values(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
- Endpoint->GetEndpointInfo().Url,
- Result.Error.Reason,
- Result.Error.ErrorCode);
+ ZEN_WARN("get cache values(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
+ Endpoint->GetEndpointInfo().Url,
+ Result.Error.Reason,
+ Result.Error.ErrorCode);
}
RemainingKeys = std::move(Missing);
@@ -1679,10 +1679,10 @@ public:
{
Stats.CacheErrorCount.Increment(1);
- ZEN_ERROR("get cache value FAILED, endpoint '{}', reason '{}', error code '{}'",
- Endpoint->GetEndpointInfo().Url,
- Result.Error.Reason,
- Result.Error.ErrorCode);
+ ZEN_WARN("get cache value FAILED, endpoint '{}', reason '{}', error code '{}'",
+ Endpoint->GetEndpointInfo().Url,
+ Result.Error.Reason,
+ Result.Error.ErrorCode);
}
}
}
@@ -1741,10 +1741,10 @@ public:
{
Stats.CacheErrorCount.Increment(1);
- ZEN_ERROR("get cache values(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
- Endpoint->GetEndpointInfo().Url,
- Result.Error.Reason,
- Result.Error.ErrorCode);
+ ZEN_WARN("get cache values(s) (rpc) FAILED, endpoint '{}', reason '{}', error code '{}'",
+ Endpoint->GetEndpointInfo().Url,
+ Result.Error.Reason,
+ Result.Error.ErrorCode);
}
RemainingKeys = std::move(Missing);