Setup efficient unpacker logging
Summary
Unpacker uses built-in python logger
module.
While this module is very handy in setting up different levels of verbosity and support different handlers (console, file etc.),
it comes with a significant overhead even for silenced calls (i.e. if one has multiple debug
statements in the code, parsing them may slow down the code very significantly even when logging level is set to info
).
What is the expected correct behavior?
Need to provide proper console and file handlers for logger and optimize log calls.
Pehaps provide logging functionality on per-event basis to reduce the number of logger.debug
statements.