Log4j2 Sample Config

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

events.log is generated by the event bus, not by individual bindings. Changing the logging level of the binding does nothing for that.

Frankly, Iā€™m of the opinion that events.log should either be kept whole and use the tools available to you to only look at those lines that are relevant at a given time or turn off events.log entirely. But if you must, see openHAB - Filtering event logs to filter events.log.

I have a lot of ItemStateChangedEvent because of my power meter plug. This is updating ever few seconds.
Is there a possibility to ignore the ItemStateChangedEvents just for a specific Item? Or can it only ignored for all Items or none?

The post literally right above this one has your answer. Hint, look at the link ā€œFiltering event logsā€.