Hi,
I am trying to limit the logging for some bindings but I am not successful.
openHAB 2.5.2-1 (Release Build)
adding the following lines to
/var/lib/openhab2/etc/org.ops4j.pax.logging.cfg:
# Custom Log Levels
log4j2.logger.org_openhab_binding_ntp.name = org.openhab.binding.ntp
log4j2.logger.org_openhab_binding_ntp.level = WARN
log4j2.logger.org_openhab_binding_network.name = org.openhab.binding.network
log4j2.logger.org_openhab_binding_network.level = WARN
log4j2.logger.org_openhab_binding_fritzboxtr064.name = org.openhab.binding.fritzboxtr064
log4j2.logger.org_openhab_binding_fritzboxtr064.level = WARN
Unfortunately nothing happens, the log throws line after line in the events.log, example:
2020-05-07 18:36:19.600 [vent.ItemStateChangedEvent] - FritzboxUptime changed from 5290088 to 5290151
2020-05-07 18:36:19.694 [vent.ItemStateChangedEvent] - Heute changed from 2020-05-07T18:36:04.663+0200 to 2020-05-07T18:36:19.669+0200
2020-05-07 18:36:19.696 [vent.ItemStateChangedEvent] - ntp_ntp_zeit_string changed from 2020-05-07 18:36:04 CEST to 2020-05-07 18:36:19 CEST
2020-05-07 18:36:31.634 [vent.ItemStateChangedEvent] - ntp_ntp_local_dateTime changed from 2020-05-07T18:35:31.606+0200 to 2020-05-07T18:36:31.611+0200
2020-05-07 18:36:31.637 [vent.ItemStateChangedEvent] - ntp_ntp_local_string changed from 2020-05-07 18:35:31 CEST to 2020-05-07 18:36:31 CEST
2020-05-07 18:36:34.695 [vent.ItemStateChangedEvent] - Heute changed from 2020-05-07T18:36:19.669+0200 to 2020-05-07T18:36:34.672+0200
2020-05-07 18:36:34.698 [vent.ItemStateChangedEvent] - ntp_ntp_zeit_string changed from 2020-05-07 18:36:19 CEST to 2020-05-07 18:36:34 CEST
2020-05-07 18:36:37.192 [vent.ItemStateChangedEvent] - network_pingdevice_192_*_*_*_latency changed from 15.0 ms to 315.0 ms
2020-05-07 18:36:37.287 [vent.ItemStateChangedEvent] - network_pingdevice_192_*_*_*_lastseen changed from 2020-05-07T18:35:36.823+0200 to 2020-05-07T18:36:37.253+0200
These entries appear any few seconds, for every change triggered (what I do not need to know at this level, of course).
Any idea what I am missing here?
Thanks a lot!
Andreas