openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 69 forks source link

core.log CRITICAL should not be TRACE #258

Open CrazyIvan359 opened 4 years ago

CrazyIvan359 commented 4 years ago

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.

https://github.com/openhab-scripters/openhab-helper-libraries/blob/932894b11eb15254bb6391d4dccff0e04a22d9c5/Core/automation/lib/python/core/log.py#L23-L24