BerryNet icon indicating copy to clipboard operation
BerryNet copied to clipboard

[FR] Every client and service can create its own logger

Open bafu opened this issue 5 years ago • 0 comments

Concept If we provide a logger generator, every client and service can create its own logger instead of sharing a global logger.

Reason/Hypothesis

We can help every client and service to have its own logger, or solve log-level interference because we know bnpipeline/launcher_berrynet are affected by the OpenVINO component in Dyda.

More Description

The debug-level logs in bnpipeline/launcher_berrynet disappear even the debug parameter is assigned. It's because that the OpenVINO component in Dyda sets the log level to INFO.

Single global logger brings the risk that anyone using the BerryNet logger can change the log level, and the others are not aware of it.

bafu avatar Jul 26 '20 06:07 bafu