diff options
author | Harshavardhana <harsha@harshavardhana.net> | 2013-08-10 20:49:12 -0700 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-08-18 05:06:45 -0700 |
commit | 8cde114f65e7a08c9ca3637ff46b8b6cd6dc9426 (patch) | |
tree | 62d30ed27fc143eb14693d19f91906ea59b03315 | |
parent | 2a195787746a6bfd3e1da6bf38c657ae0ccda24d (diff) |
glusterd: Move certain logs into 'DEBUG' level
Confusing "Error" messages in logs can cause user panic
and false positives - avoid them as necessary in future.
Change-Id: I906c64eea879b19a8db099c89d1d7f874e5530db
BUG: 995784
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-on: http://review.gluster.org/5555
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | libglusterfs/src/store.c | 5 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/libglusterfs/src/store.c b/libglusterfs/src/store.c index 621146bea67..48c79ee0289 100644 --- a/libglusterfs/src/store.c +++ b/libglusterfs/src/store.c @@ -403,8 +403,9 @@ gf_store_handle_retrieve (char *path, gf_store_handle_t **handle) ret = stat (path, &statbuf); if (ret) { - gf_log ("", GF_LOG_ERROR, "Unable to retrieve store handle " - "%s, error: %s", path, strerror (errno)); + gf_log ("", GF_LOG_ERROR, "Path corresponding to " + "%s, returned error: (%s)", + path, strerror (errno)); goto out; } ret = gf_store_handle_new (path, handle); diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index 71c8428ec9e..2e6dd6b43aa 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -1302,7 +1302,7 @@ glusterd_retrieve_op_version (xlator_t *this, int *op_version) ret = gf_store_handle_retrieve (path, &handle); if (ret) { - gf_log ("", GF_LOG_ERROR, "Unable to get store " + gf_log ("", GF_LOG_DEBUG, "Unable to get store " "handle!"); goto out; } @@ -1403,7 +1403,7 @@ glusterd_retrieve_uuid () ret = gf_store_handle_retrieve (path, &handle); if (ret) { - gf_log ("", GF_LOG_ERROR, "Unable to get store " + gf_log ("", GF_LOG_DEBUG, "Unable to get store" "handle!"); goto out; } @@ -1415,7 +1415,7 @@ glusterd_retrieve_uuid () &uuid_str); if (ret) { - gf_log ("", GF_LOG_INFO, "No previous uuid is present"); + gf_log ("", GF_LOG_DEBUG, "No previous uuid is present"); goto out; } |