diff options
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 7dfa13d14db..aaa196a1977 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 c7f2561507b..eaa735d5f03 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 0664b2efae0..0a76f161297 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; |