From b7d15d076754db7d1e4719e84b7a6f39d50823fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 27 Sep 2022 22:55:27 +0100 Subject: 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. --- doc/diagnostic-options.adoc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc') 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 :: 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 :: 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 :: 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 :: Abort the program if any messages are logged for the specified log domains. List of domains must be comma-separated. --log-file :: Write log messages and stderr output to the specified file. -- cgit v1.2.3