for some time now I have had the problem that the log function keeps collapsing. I would be happy if someone could give me a hand so that I can solve the problem.
At the moment, I have to restart the Raspi at least once a day to get the log to work again. The end of the log looks like this:
@anon71759204
Thank you for the answer. However, the cause described there seems to be different. In my case, the log runs in principle, but stops after a while.
The “org.ops4j.pax.logging.cfg” also exists and has the content,
I expect. If you think it makes sense, I can post the content.
2021-12-11 13:05:25.957 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_Dewpoint' changed from 8.2 to 8.4
2021-12-11 13:05:48.306 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_Humidity' changed from 39.2 to 39.4
2021-12-11 13:05:48.309 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_Temperature' changed from 22.8 to 22.9
2021-12-11 13:05:48.311 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_Pressure_EE' changed from 1006.2 to 1007.5
2021-12-11 13:05:48.314 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_CO2_EE' changed from 1475.6 to 1468.4
2021-12-11 13:05:48.315 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'IBTV_Startup' changed from OFF to ON
2021-12-11 13:05:48.321 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_Startup' received command OFF
2021-12-11 13:05:48.328 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED1_On' received command ON
2021-12-11 13:05:48.335 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED2_On' received command ON
2021-12-11 13:05:48.342 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED3_On' received command ON
2021-12-11 13:05:48.353 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'IBTV_Startup' predicted to become OFF
2021-12-11 13:05:48.360 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED1_Blink' received command OFF
2021-12-11 13:05:48.367 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED2_Blink' received command OFF
2021-12-11 13:05:48.372 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED3_Blink' received command OFF
2021-12-11 13:05:48.378 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED1_Color' received command 000000
2021-12-11 13:05:48.385 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED2_Color' received command 000000
2021-12-11 13:05:48.390 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED3_Color' received command 000000
2021-12-11 13:05:48.396 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'IBTV_LED3_Blink' received command OFF
2021-12-11 13:05:4
Size of events.log is 512000, openhab.log is 151552.
The other files :
total 27444
-rw-r--r-- 1 openhab openhab 512000 Dec 11 14:25 events.log
-rw-r--r-- 1 openhab openhab 151552 Dec 11 14:23 openhab.log
-rw-r--r-- 1 openhab openhab 155478 Dec 5 11:11 events.log.7
-rw-r--r-- 1 openhab openhab 246748 Dec 5 11:11 openhab.log.7
-rw-r--r-- 1 openhab openhab 56578 Dec 5 10:22 events.log.6
-rw-r--r-- 1 openhab openhab 92435 Dec 5 10:22 openhab.log.6
-rw-r--r-- 1 openhab openhab 64901 Dec 3 20:37 events.log.5
-rw-r--r-- 1 openhab openhab 76235 Dec 3 20:37 openhab.log.5
-rw-r--r-- 1 openhab openhab 72408 Dec 3 19:37 openhab.log.4
-rw-r--r-- 1 openhab openhab 62188 Dec 1 22:35 events.log.4
-rw-r--r-- 1 openhab openhab 73882 Dec 1 22:35 openhab.log.3
-rw-r--r-- 1 openhab openhab 71709 Dec 1 20:41 openhab.log.2
-rw-r--r-- 1 openhab openhab 11883488 Nov 16 16:11 events.log.3
-rw-r--r-- 1 openhab openhab 6530734 Nov 16 16:11 openhab.log.1
-rw-r--r-- 1 openhab openhab 532093 Nov 4 20:36 events.log.2
-rw-r--r-- 1 openhab openhab 7406297 Oct 10 20:26 events.log.1
-rwxr-xr-x 1 openhab openhab 0 Jun 27 22:57 Readme.txt
-rw-rw-r-- 1 openhab openhab 0 Feb 2 2021 audit.log
After rebooting it looks like this:
total 26920
-rw-r--r-- 1 openhab openhab 87559 Dec 11 14:32 events.log
-rw-r--r-- 1 openhab openhab 43407 Dec 11 14:32 openhab.log
-rw-r--r-- 1 openhab openhab 155478 Dec 5 11:11 events.log.7
-rw-r--r-- 1 openhab openhab 246748 Dec 5 11:11 openhab.log.7
-rw-r--r-- 1 openhab openhab 56578 Dec 5 10:22 events.log.6
-rw-r--r-- 1 openhab openhab 92435 Dec 5 10:22 openhab.log.6
-rw-r--r-- 1 openhab openhab 64901 Dec 3 20:37 events.log.5
-rw-r--r-- 1 openhab openhab 76235 Dec 3 20:37 openhab.log.5
-rw-r--r-- 1 openhab openhab 72408 Dec 3 19:37 openhab.log.4
-rw-r--r-- 1 openhab openhab 62188 Dec 1 22:35 events.log.4
-rw-r--r-- 1 openhab openhab 73882 Dec 1 22:35 openhab.log.3
-rw-r--r-- 1 openhab openhab 71709 Dec 1 20:41 openhab.log.2
-rw-r--r-- 1 openhab openhab 11883488 Nov 16 16:11 events.log.3
-rw-r--r-- 1 openhab openhab 6530734 Nov 16 16:11 openhab.log.1
-rw-r--r-- 1 openhab openhab 532093 Nov 4 20:36 events.log.2
-rw-r--r-- 1 openhab openhab 7406297 Oct 10 20:26 events.log.1
-rwxr-xr-x 1 openhab openhab 0 Jun 27 22:57 Readme.txt
-rw-rw-r-- 1 openhab openhab 0 Feb 2 2021 audit.log
Edit:
Now I deleted all log files in the directory and did a reboot.
Let’s see if it made a difference. But that will become clear tomorrow at the earliest