diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2018-06-29 12:00:09 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2018-06-29 12:00:09 +0100 |
commit | 97007d095e25af302abeb32662353f84f720863c (patch) | |
tree | 4d07aa11c5dad068fe2b68347100037660474038 /docs/logging.md | |
parent | 169a91ace945ca0c0747ffa0f7db5ee550188c87 (diff) | |
download | netsurf-97007d095e25af302abeb32662353f84f720863c.tar.gz netsurf-97007d095e25af302abeb32662353f84f720863c.tar.bz2 |
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 (--).
Diffstat (limited to 'docs/logging.md')
-rw-r--r-- | docs/logging.md | 10 |
1 files changed, 8 insertions, 2 deletions
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 <file> Send the logging to a file instead of standard output - - -log_filter=<filter> + - --log_filter=<filter> Set the non verbose filter - - -log_verbose_filter=<filter> + - --verbose_filter=<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 ------- |