Found out the tmpfs mounted volume was set to 20 MB which eventually filled up. With no disk space left on this mounted volume, the logs would not get updated. I deleted the rotating logs (events.log.1, events.log.2, etc) to free up space. This was an immediate fix. Logs started updating as soon as more disk space was available.
I also increased the amount of disk space to use for the tmpfs volume. This was done by editing…
mount -t tmpfs -o size=20M none $TMPFS
…in /usr/local/etc/rc.d/openHAB-tmpfs.sh. I increased it and rebooted Synology.
Hi, may I hook up here in this thread, as I do have exactly the same issue, but no solution yet. My HAB-tmpfs.sh already has the mentioned “mount” command line included, and using a “df -h” shows tmpfs with size 20M.
The logging stops here as well, creating 5 events.log.x files and 1 openhab.log.x file. My question is now: Just increasing the mount size (e.g. to 200M) would just be fine temporary and will stop again once this limit is reached?
Where can I configure the amount of log rotating files? The size is defined in the org.ops4j.pax.logging.cfg file but I cannot find anything regarding the number of files?