Hi there,
[OpenHab2.2 with Openhabian 1.4 on RasPi3]
I hope i’m in the correct section of the forum.
I know that I can change the default log levels by modifying org.ops4j.pax.logging.cfg
But I do not know how to change the default log level for a binding.
To be more detailed:
My denon binding throws me the following log when the receiver is switched off:
2018-01-19 21:53:05.687 [WARN ] [inding.denon.internal.DenonConnector] - Unable to get secondary zone information.
This is a known issue and it is being investigated right now afaik.
To avoid this, I can set
log:set ERROR org.openhab.binding.denon
in Karaf - however after each restart of Openhab the logger seems to be back to INFO.
Can anybody help me where I can change the default log level for this binding?
In the above mentioned config file i cannot see an entry for the denon binding.
Would it be enought to insert
log4j2.logger.org.openhab.binding.denon = ERROR
I don’t want to mess things up that’s why i’m asking prior to modifying the file