From 97007d095e25af302abeb32662353f84f720863c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 29 Jun 2018 12:00:09 +0100 Subject: Docs: Fix logging CLI reference, and add examples. The verbose filter CLI option doesn't begin with log_ prefix. The filter options need a double dash (--). --- docs/logging.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/logging.md b/docs/logging.md index 41c7ea1bd..abc852bca 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -62,12 +62,18 @@ The main command line switches that control logging are: - -V Send the logging to a file instead of standard output - - -log_filter= + - --log_filter= Set the non verbose filter - - -log_verbose_filter= + - --verbose_filter= Set the verbose filter +Examples: + + ./nsgtk --log_filter="level:INFO" + ./nsgtk -v --verbose_filter="(cat:layout && level:DEBUG)" + ./nsgtk -v --verbose_filter="((cat:layout && level:DEBUG) || level:INFO)" + Options ------- -- cgit v1.2.3