aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-12-14 01:22:24 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-14 12:05:41 +0000
commitcf3cb3a695c1df24c8bf7047a63779b6e407a6a7 (patch)
treefe4e87005ca561c323535b846058456655085f69 /randpkt.c
parent77b6bca3870d5ef63303e637cc39e2cf83f49ddc (diff)
wslog: Avoid logging any output to stdout
For historical reasons our logging inherited from GLib the logging of some levels to stdout. Namely levels "info" and "debug" (to which we added "noisy"). However this practice is discouraged because it mixes debug output with application output for CLI tools and breaks many common usage scenarios, like using tshark in pipes. This change flips the logic on wslog to make logging to stderr the default behavior. Extcap subprocess have a hidden dependency on stdout so add that. Some GUI users may also have a dependency on stdout. Because GUI tools are unlikely to depend on stdout for programatic output add another exception for wireshark GUI, to preserve backward compatibility.
Diffstat (limited to 'randpkt.c')
0 files changed, 0 insertions, 0 deletions