wireshark/wsutil
João Valverde 53cded5062 wslog: Add backward compatibility with 'console.log.level'
This adds some custom logic to check if we were given
the obsolete 'console.log.level' setting from the CLI
arguments, that specified the log level using a bitmask
copied from GLib. If we find that map the bitmask to a
wslog log level.

In any case the option is not removed from the argv (unlike
other wslog arguments like --log-level, etc.).

Adds deprecation warning for 'console.log.level' printed to
the console.

Related to #17763.
2021-12-11 00:19:09 +00:00
..
wmem Make wmem_print_tree public. 2021-12-06 16:06:13 +00:00
.editorconfig wsutil/str_util: Fix indentation 2021-11-29 22:13:31 +00:00
802_11-utils.c ieee80211: Add 6E support when converting freq. to channel number. 2021-10-03 10:03:45 +00:00
802_11-utils.h peektagged: guess the PHY for 11b/11g/11a. 2021-03-04 16:07:23 -08:00
CMakeLists.txt Move regex code to wsutil 2021-11-14 21:00:59 +00:00
adler32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
adler32.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
base32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
base32.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
bits_count_ones.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
bits_ctz.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
bitswap.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
bitswap.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
buffer.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
buffer.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
cfutils.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
cfutils.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
codecs.c wsutil: Fix incorrect header include 2021-06-25 03:14:22 +00:00
codecs.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
color.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
copyright_info.c Happy New Year 2021 2021-01-01 11:36:23 +00:00
copyright_info.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
cpu_info.c wsutil: Strip the processor brand string. 2020-02-15 11:11:50 +00:00
cpu_info.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crash_info.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crash_info.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc5.c USBLL: Verify Token/Split packets CRC-5 2019-07-29 20:49:09 +00:00
crc5.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc6.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc6.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc7.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc7.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc8.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc8.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc10.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc10.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc11.c Fix -Wdocumentation warning 2021-04-14 14:01:49 +00:00
crc11.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc16-plain.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc16-plain.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc16.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc16.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
crc32.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
crc32.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
curve25519.c wsutil: fix build failure of Debian packages on Ubuntu 16.04 2019-06-30 13:07:43 +00:00
curve25519.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
dot11decrypt_wep.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
eax.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
eax.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
epochs.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
exported_pdu_tlvs.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
file_util.c MSVC: Warn about unused formal parameters 2019-09-21 08:51:34 +00:00
file_util.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
filesystem.c Qt: Register import_hexdump.json as a profile file 2021-09-21 18:20:34 +00:00
filesystem.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
g711.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
g711.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
glib-compat.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
inet_addr.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
inet_addr.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
inet_ipv4.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
inet_ipv6.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
interface.c Eliminate some unneeded header checks. 2018-05-16 22:03:09 +00:00
interface.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
jsmn.c wsutil: split libjsmn. 2016-09-30 20:12:00 +00:00
jsmn.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
json_dumper.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
json_dumper.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
mpeg-audio.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
mpeg-audio.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
netlink.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
nstime.c nstime: Support ISO 8601 basic format 2021-12-01 20:50:37 -05:00
nstime.h nstime: Support ISO 8601 basic format 2021-12-01 20:50:37 -05:00
os_version_info.c OS Version Info: Improve Windows detection 2021-11-28 22:16:19 +00:00
os_version_info.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
pint.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
please_report_bug.c Update our issue tracker URL in some places. 2020-09-16 01:29:07 +00:00
please_report_bug.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
plugins.c Add new global header wireshark.h with guideline 2021-10-22 06:41:44 +00:00
plugins.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
pow2.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
privileges.c Replace g_log() calls with ws_log() 2021-06-16 12:50:27 +00:00
privileges.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
processes.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
regex.c regex: Prefer C99/POSIX types 2021-11-15 02:41:59 +00:00
regex.h Add files with WS_DLL_PUBLIC to Doxygen part2 2021-11-30 06:47:35 +00:00
report_message.c Add more error-reporting routines that call through a function pointer. 2021-03-15 12:17:59 -07:00
report_message.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
rsa.c Refactor our logging and extend the wslog API 2021-06-11 09:40:28 +00:00
rsa.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
sign_ext.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
sober128.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sober128.h Add files with WS_DLL_PUBLIC to Doxygen part2 2021-11-30 06:47:35 +00:00
socket.c Replace g_assert() with ws_assert() in places 2021-06-06 20:05:26 +00:00
socket.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
str_util.c dfilter: Avoid dumping mangled UTF-8 2021-12-02 16:04:48 +00:00
str_util.h wsutil: Split format_size() enum 2021-11-29 22:13:32 +00:00
strnatcmp.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
strnatcmp.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
strptime.c Fix many spelling errors 2020-10-11 08:35:55 +00:00
strptime.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
strtoi.c Replace g_assert() with ws_assert() in places 2021-06-06 20:05:26 +00:00
strtoi.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
tempfile.c Fix -Wdocumentation warning 2021-04-14 14:01:49 +00:00
tempfile.h tempfile(.h): fix -Wdocumentation 2020-03-23 08:47:50 +00:00
test_wsutil.c dfilter: Avoid dumping mangled UTF-8 2021-12-02 16:04:48 +00:00
time_util.c epan: Add ENC_ISO_8601_DATE_TIME_BASIC 2021-12-02 14:19:49 +00:00
time_util.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
to_str.c wsutil: Rename ws_return_ptr_if_null() macro 2021-11-14 20:58:14 +00:00
to_str.h Add files with WS_DLL_PUBLIC to Doxygen part2 2021-11-30 06:47:35 +00:00
type_util.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
type_util.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
unicode-utils.c wsutil: argv[] is a NULL terminated array 2021-06-10 16:22:12 +00:00
unicode-utils.h Move even more headers outside extern "C". 2021-03-16 04:33:00 -07:00
utf8_entities.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
win32-utils.c Refactor our logging and extend the wslog API 2021-06-11 09:40:28 +00:00
win32-utils.h Remove ABI compliance checker code. 2019-07-21 15:54:41 +00:00
ws_assert.c wsutil: Rewrite ws_assert() to minimize dependencies 2021-06-25 22:06:32 +00:00
ws_assert.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ws_cpuid.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
ws_getopt.c ws_getopt: Rename struct and macros 2021-09-30 13:59:28 +00:00
ws_getopt.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ws_mempbrk.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
ws_mempbrk.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ws_mempbrk_int.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
ws_mempbrk_sse42.c Fix many spelling errors 2020-10-11 08:35:55 +00:00
ws_pipe.c Debug: Lower priority to "noisy" for pipe spawn output 2021-06-23 17:45:44 +00:00
ws_pipe.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
ws_return.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
ws_roundup.h wsutil: Add header files to Doxygen 2021-11-30 07:30:34 +00:00
wsgcrypt.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
wsgcrypt.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
wsjson.c NGAP: fix dissection of multiple NGAP messages in the same HTTP2 packet 2021-06-21 13:33:55 +00:00
wsjson.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00
wslog.c wslog: Add backward compatibility with 'console.log.level' 2021-12-11 00:19:09 +00:00
wslog.h extcap: Register log handler conditionally 2021-12-06 18:51:42 +00:00
xtea.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
xtea.h Add files with WS_DLL_PUBLIC to Doxygen 2021-11-29 21:27:45 +00:00