summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-21 02:34:01 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-24 20:57:41 +0530
commitb52a5a408b82496a295c1065f2286c6755a04689 (patch)
treeab8ab70bc3553b7418669697ad634895cb5560a3 /libglusterfs/src/logging.c
parent174872b3644d36f6d0f8a34d9c06092abc126e4f (diff)
Introduce new log level GF_LOG_TRACE.
TRACE is the most verbose log level, meant to have a full trace of operation. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/logging.c')
-rw-r--r--libglusterfs/src/logging.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index 9a50122c2..cb1ba5b5a 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -134,13 +134,13 @@ _gf_log (const char *domain, const char *file, const char *function, int line,
time_t utime = 0;
struct tm *tm = NULL;
char timestr[256];
- static char *level_strings[] = {"N", /* NONE */
- "T", /* TRACE */
+ static char *level_strings[] = {"", /* NONE */
"C", /* CRITICAL */
"E", /* ERROR */
"W", /* WARNING */
- "N", /* TRACE (GF_LOG_NORMAL) */
+ "N", /* NORMAL */
"D", /* DEBUG */
+ "T", /* TRACE */
""};
if (!domain || !file || !function || !fmt) {