diff options
author | João Valverde <j@v6e.pt> | 2022-09-27 22:16:21 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2022-09-28 14:57:51 +0100 |
commit | 32befe119d2dc186abc5ffd9eef6108287eca6b8 (patch) | |
tree | 8255d64bada8eb1d9d7ba98a4aeda4382418ec40 /wsutil | |
parent | feb7f45179f61a792102cb94dcd2d73211fcda98 (diff) |
Add a log domain for encoding errors and lower the log level
Using a warning is probably too exalted for the current state
of the code, where UTF-8 errors are somewhat expected from
dissectors that are lax about input validation.
Use a debug level with its own "UTF-8" domain instead.
Using a dedicated domain allows to filter on encoding errors and
with some enhancements to the logging subsystem make them fatal
for tracking and debugging purposes.
Using a dedicated domain might have other drawbacks but for now
it seems like the best approach.
Diffstat (limited to 'wsutil')
0 files changed, 0 insertions, 0 deletions