diff options
author | João Valverde <j@v6e.pt> | 2022-09-27 22:55:27 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2022-09-28 17:14:44 +0100 |
commit | b7d15d076754db7d1e4719e84b7a6f39d50823fd (patch) | |
tree | 550d0dde60dd97f8babe959424327b5f5572abc2 /doc | |
parent | ad66a854a0910ef4366acdcd61a3ba7d402808a0 (diff) |
wslog: Add option to make a list of domains fatal
Add a command line option --log-fatal-domains= and environment variable
WIRESHARK_LOG_FATAL_DOMAINS that aborts the programs if a domain in
the list is logged to.
Negative matches for fatal log domains not implemented for now,
pending a relevant use-case.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/diagnostic-options.adoc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/diagnostic-options.adoc b/doc/diagnostic-options.adoc index a7f0d10cd6..1500168f1b 100644 --- a/doc/diagnostic-options.adoc +++ b/doc/diagnostic-options.adoc @@ -10,12 +10,15 @@ For example, "warning" aborts on any "warning", "critical", or "error" messages. // XXX List available domains if no list is provided? --log-domains <list>:: Only print messages for the specified log domains, e.g. "GUI,Epan,sshdump". -List of domains must be comma-separated. +List of domains must be comma-separated. Can be negated with "!" as the first character (inverts the match). --log-debug <list>:: Force the specified domains to log at the "debug" level. -List of domains must be comma-separated. +List of domains must be comma-separated. Can be negated with "!" as the first character (inverts the match). --log-noisy <list>:: Force the specified domains to log at the "noisy" level. +List of domains must be comma-separated. Can be negated with "!" as the first character (inverts the match). + +--log-fatal-domains <list>:: Abort the program if any messages are logged for the specified log domains. List of domains must be comma-separated. --log-file <path>:: Write log messages and stderr output to the specified file. |