From b52a5a408b82496a295c1065f2286c6755a04689 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Tue, 21 Apr 2009 02:34:01 -0700 Subject: 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 --- glusterfsd/src/glusterfsd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index aef02382727..8a9a5bf05c4 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; -- cgit