Duplicated logs folder

Hi, I’ve noticed that the log folders (events.log for example) are stored in two different places:

  • /srv/openhab2-logs
  • /var/log/openhab2

Are those really duplicated files or just symlinks? Can I remove one of them (for example /srv/openhab2-logs) to save disk space?

Also, in the docs, it says that there is just one place where the folders are stored: Logging | openHAB

  • Platform information: Openhabian
  • Hardware: RPI
  • openHAB version: 2.5.11 (but it seems to occur with older versions too)

Thank you

The logs are stored in /var/log/openhab2.
/srv/openhab2-logs is a bind mounted ‘mirror’ of the above one to be able to access several different directories via Samba service under the same parent directory.
Removing the bind mount would not save disk space.

1 Like