Dear all,
since I migrated to 3.0, no log files (openhab.log and events.log) are written to the /var/log/openhab directory when I start OH as a service. When I run openhab-cli, it works fine. Watching the logs in the console also works.
I also checked the openhab2 directory, there loggig ends with the migration.
org.ops4j.pax.logging.cfg looks like this:org.ops4j.pax.logging.log4j2.config.file=${karaf.etc}/log4j2.xml
Note:
After migration, the service did not start at all. I checked this manual, /usr/lib/systemd/system/openhab.service
was ok but I had to enable the execution on system startup.
Setup:
Raspberry Pi 3
Raspbian Stretch lite
Package-based installation