summaryrefslogtreecommitdiffstats
path: root/glusterfsd
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 /glusterfsd
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 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index aef023827..8a9a5bf05 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -705,6 +705,10 @@ parse_opts (int key, char *arg, struct argp_state *state)
cmd_args->log_level = GF_LOG_DEBUG;
break;
}
+ if (strcasecmp (arg, ARGP_LOG_LEVEL_TRACE_OPTION) == 0) {
+ cmd_args->log_level = GF_LOG_TRACE;
+ break;
+ }
argp_failure (state, -1, 0, "unknown log level %s", arg);
break;