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

core.log CRITICAL should not be TRACE #258

Open
CrazyIvan359 opened this issue Sep 20, 2019 · 0 comments
Open

core.log CRITICAL should not be TRACE #258

CrazyIvan359 opened this issue Sep 20, 2019 · 0 comments

Comments

@CrazyIvan359
Copy link
Contributor

core.log links the Python logging level CRITICAL to openHAB level TRACE but this is not correct. The CRITICAL level is above ERROR and TRACE is below DEBUG.

The TRACE level would need to be added to the Python logger as it is not built in.

if level == logging.CRITICAL:
logger.trace(message)

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