diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-06-11 13:39:16 +0100 |
---|---|---|
committer | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-06-14 13:13:12 +0100 |
commit | 5a662ba3fb93d6abef23fe665807ad5ec09b1103 (patch) | |
tree | fe4072b9353a33bb1f57302e22b77dbd5f905e17 /debian | |
parent | 82739fc4f55f51b1d5dd79078bd507837c27dedf (diff) |
wslog: Add support for domain filtering
A domain filter can be given in the environment variable
'WS_LOG_DOMAINS' or in a command-line options "--log-domains".
The filter is specified as a comma separated case insensitive list,
for example:
./tshark --log-domains=main,capture
Domain data type switches from an enum to a string. There is no
constaint on adding new domains, neither in code or at runtime.
The string format is arbitrary, only positive matches will produce
output.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/libwsutil0.symbols | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/libwsutil0.symbols b/debian/libwsutil0.symbols index d9ea8f3d8e..78c8f36c20 100644 --- a/debian/libwsutil0.symbols +++ b/debian/libwsutil0.symbols @@ -227,7 +227,6 @@ libwsutil.so.0 libwsutil0 #MINVER# ws_init_sockets@Base 3.1.0 ws_log@Base 3.5.0 ws_log_add_custom_file@Base 3.5.0 - ws_log_domain_to_string@Base 3.5.0 ws_log_fprint@Base 3.5.0 ws_log_full@Base 3.5.0 ws_log_get_level@Base 3.5.0 @@ -235,6 +234,8 @@ libwsutil.so.0 libwsutil0 #MINVER# ws_log_init_with_data@Base 3.5.0 ws_log_level_is_active@Base 3.5.0 ws_log_level_to_string@Base 3.5.0 + ws_log_set_domain_filter_args@Base 3.5.0 + ws_log_set_domain_filter_str@Base 3.5.0 ws_log_set_level@Base 3.5.0 ws_log_set_level_args@Base 3.5.0 ws_log_set_level_str@Base 3.5.0 |