Skip to content

Use implemented logging configurator

Valentina Kustikova requested to merge github/fork/asesorov/as/log into master

Created by: asesorov

In #326, old logging interface was replaced by another one (locally defined) in inference_benchmark.py. I believe that it is unnecessary to define new loggers with the same scope - better use already implemented in utils/logger_conf.py. Moreover, the old logger interface had colorful output (enabled by default), which makes logs more readable. I also suggest using this old logger (and also traceback hook) in other tools.

Here are some sample launches of different loggers Current sample log output with info, warning and error:

nocolor

Previous version (old logger): color

Current PR version (reverted only logger definition): pr_update

Merge request reports