diff options
author | Amar Tumballi <amar@gluster.com> | 2011-04-07 07:44:51 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-04-07 11:40:25 -0700 |
commit | 62e1096fb01f7a12c5bc5ff77e3cb427248b80ad (patch) | |
tree | 863f24a67574834751693a82fee9df158bdeb253 /libglusterfs | |
parent | 19b2e01f1c53c358c5673c3d216c0349b55481a6 (diff) |
removed reference to GF_LOG_NORMAL
instead used GF_LOG_INFO, which is more standard log level.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@gluster.com>
BUG: 2669 (RuntimeError: cannot recognize log level "normal")
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2669
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/latency.c | 2 | ||||
-rw-r--r-- | libglusterfs/src/logging.c | 6 | ||||
-rw-r--r-- | libglusterfs/src/logging.h | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/libglusterfs/src/latency.c b/libglusterfs/src/latency.c index 7dfa13d14..aaa196a19 100644 --- a/libglusterfs/src/latency.c +++ b/libglusterfs/src/latency.c @@ -176,7 +176,7 @@ gf_latency_toggle (int signum) if (ctx) { ctx->measure_latency = !ctx->measure_latency; - gf_log ("[core]", GF_LOG_NORMAL, + gf_log ("[core]", GF_LOG_INFO, "Latency measurement turned %s", ctx->measure_latency ? "on" : "off"); } diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index c7f256150..eaa735d5f 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -217,7 +217,7 @@ _gf_log_nomem (const char *domain, const char *file, "E", /* ERROR */ "W", /* WARNING */ "N", /* NOTICE */ - "I", /* INFO/NORMAL */ + "I", /* INFO */ "D", /* DEBUG */ "T", /* TRACE */ ""}; @@ -337,7 +337,7 @@ _gf_log_callingfn (const char *domain, const char *file, const char *function, "E", /* ERROR */ "W", /* WARNING */ "N", /* NOTICE */ - "I", /* INFO/NORMAL */ + "I", /* INFO */ "D", /* DEBUG */ "T", /* TRACE */ ""}; @@ -483,7 +483,7 @@ _gf_log (const char *domain, const char *file, const char *function, int line, "E", /* ERROR */ "W", /* WARNING */ "N", /* NOTICE */ - "I", /* INFO/NORMAL */ + "I", /* INFO */ "D", /* DEBUG */ "T", /* TRACE */ ""}; diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h index 0664b2efa..0a76f1612 100644 --- a/libglusterfs/src/logging.h +++ b/libglusterfs/src/logging.h @@ -64,7 +64,6 @@ typedef enum { GF_LOG_WARNING, /* info about normal operation */ GF_LOG_NOTICE, GF_LOG_INFO, /* Normal information */ -#define GF_LOG_NORMAL GF_LOG_INFO GF_LOG_DEBUG, /* internal errors */ GF_LOG_TRACE, /* full trace of operation */ } gf_loglevel_t; |