aboutsummaryrefslogtreecommitdiff
path: root/zenstore
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 /zenstore
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 'zenstore')
-rw-r--r--zenstore/cas.cpp2
-rw-r--r--zenstore/compactcas.cpp2
-rw-r--r--zenstore/filecas.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/cas.cpp b/zenstore/cas.cpp
index 54e8cb11c..f8fc41341 100644
--- a/zenstore/cas.cpp
+++ b/zenstore/cas.cpp
@@ -148,7 +148,7 @@ CasImpl::OpenOrCreateManifest()
}
else
{
- ZEN_ERROR("Store manifest validation failed: {:#x}, will generate new manifest to recover", uint32_t(ValidationResult));
+ ZEN_WARN("Store manifest validation failed: {:#x}, will generate new manifest to recover", uint32_t(ValidationResult));
}
if (ManifestIsOk)
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index a7fdfa1f5..519478356 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -327,7 +327,7 @@ CasContainerStrategy::Scrub(ScrubContext& Ctx)
if (!BadKeys.empty())
{
- ZEN_ERROR("Scrubbing found #{} bad chunks in '{}'", BadKeys.size(), m_RootDirectory / m_ContainerBaseName);
+ ZEN_WARN("Scrubbing found #{} bad chunks in '{}'", BadKeys.size(), m_RootDirectory / m_ContainerBaseName);
if (Ctx.RunRecovery())
{
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index 23e3f4cd8..79867dcfa 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -669,7 +669,7 @@ FileCasStrategy::Scrub(ScrubContext& Ctx)
if (!BadHashes.empty())
{
- ZEN_ERROR("file CAS scrubbing: {} bad chunks found", BadHashes.size());
+ ZEN_WARN("file CAS scrubbing: {} bad chunks found", BadHashes.size());
if (Ctx.RunRecovery())
{