Openhabian - log files filling disk space

I’m running the latest openhabian on an old RPI3 installed with all defaults. My /var/log directory is mounted with an overlay:

openhabian@opi3:/var/log/openhab $ df -h | grep log
overlay2        452M  442M     0 100% /var/log

This is filling and the log files get truncated when it runs out of disc space.

This is running on a 32GB SD card and there is plenty of room on the disc itself:

/dev/mmcblk0p2 29G 7.6G 20G 28% /

Can anyone point me to how to adjust this mount size?

/etc/ztab. Properly reboot after. But it’s a somewhat risky approach to change that
Better adjust number & size of logfiles in $OH_USERDATA/log4j2.xml.

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.