Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bafu opened this issue Jul 26, 2020 · 0 comments
Open

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

bafu opened this issue Jul 26, 2020 · 0 comments

Comments

@bafu
Copy link
Member

bafu commented Jul 26, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant