From: David Goulet Date: Wed, 12 Feb 2014 19:46:08 +0000 (-0500) Subject: Man: clarify loglevel for JUL domain X-Git-Tag: v2.5.0-rc1~179 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=f9e8873bbe496a72e966309c81968c7ff96bba36 Man: clarify loglevel for JUL domain Signed-off-by: David Goulet --- diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 06337c03a..cef16fa7e 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -519,6 +519,8 @@ e.g.: .TP .BR "\-\-loglevel NAME" Tracepoint loglevel range from 0 to loglevel. Listed in the help (\-h). +For the JUL domain, the loglevel ranges are detailed with the \-\-help +option thus starting from SEVERE to FINEST. .TP .BR "\-\-loglevel-only NAME" Tracepoint loglevel (only this loglevel). diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands/enable_events.c index 556538dad..29a399e97 100644 --- a/src/bin/lttng/commands/enable_events.c +++ b/src/bin/lttng/commands/enable_events.c @@ -135,7 +135,8 @@ static void usage(FILE *ofp) fprintf(ofp, " --syscall System call event\n"); fprintf(ofp, "\n"); fprintf(ofp, " --loglevel name\n"); - fprintf(ofp, " Tracepoint loglevel range from 0 to loglevel\n"); + fprintf(ofp, " Tracepoint loglevel range from 0 to loglevel.\n"); + fprintf(ofp, " For JUL domain, see the table below for the range values.\n"); fprintf(ofp, " --loglevel-only name\n"); fprintf(ofp, " Tracepoint loglevel (only this loglevel)\n"); fprintf(ofp, "\n");