diff options
author | João Valverde <j@v6e.pt> | 2021-12-09 16:32:42 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2021-12-11 00:19:09 +0000 |
commit | 53cded5062330a0f1ee3c381e26ff2ec5dc9cf1a (patch) | |
tree | 94f8a3bbd8825d54d09e6a034244bdea100c9feb /tools/rdps.py | |
parent | 7d7873187e278c47a6da99bb9319ab6119d0e08b (diff) |
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.
Diffstat (limited to 'tools/rdps.py')
0 files changed, 0 insertions, 0 deletions