bbubble62
(bbubble62)
February 10, 2016, 6:36pm
1
Hi,
I’ve installed (and in use) the systeminfo binding to display all kind of system parameters.
The update rate is every ~ 5 seconds which is very nice but the side effect is that the events.log file grows by the minute.
I’ve tried several ‘obvious’ settings in logback.xml but cannot get it to stop.
<logger name="runtime.busevents" level="INFO" additivity="false">
<appender-ref ref="EVENTFILE" />
<!-- appender-ref ref="STDOUT" / -->
</logger>
<logger name="org.openhab.binding.systeminfo" level="OFF" />
Any suggestions ?
-ben
andirs
(Andi)
January 8, 2017, 10:29am
2
I would also be interested in a solution.
The binding just spams the events.log
andirs
(Andi)
January 10, 2017, 8:09pm
3
log:set ERROR org.openhab.binding.systeminfo
in the Karaf Console also does not stop the flood of logs in events.log
Can somebody please help?
HolgerL
(Holger OpenhabUser)
April 2, 2017, 5:24pm
4
Hi, I am also looking for a solution here. I use the CPU load and this generates 2-3 entries every second into the events.log
NCO
(E. Gerland)
July 10, 2018, 1:37pm
5
Me too!
No solution for this “issue”?
HolgerL
(Holger OpenhabUser)
July 10, 2018, 1:45pm
6
Yes, there is a solution, look here:
Simple string filtering on the event log. Useful for filtering out high change items that don’t need constant log visibility.
Re-posting this as it’s own thread on the recommendation of other members. I also recommend reading Taming openHAB 2 Logging and Log4j2 Sample Config which this was based on.
Log configuration data using openhabian-pi is stored in the following file. Location may vary under other installation methods.
/srv/openhab2-userdata/etc/org.ops4j.pax.logging.cfg
openHAB using …
I implemented this, and it works!
Holger
opus
(Jürgen Baginski)
July 10, 2018, 2:49pm
7
How did you configure the Thing regarding the used Intervall? You can select the number of seconds for high and medium priorities, that way the actual logging will also be decreased!