OH3 openhab.log and events.log not updating after clearing cache

  • Platform information:
    • Hardware: RPI4
    • OS: openhabian 3.2.0.M4
    • Java Runtime Environment: Zulu 11
    • openHAB version: 3.2.0.M4
  • Issue of the topic: After clearing the cache and restarting I noticed the fronttail log viewer was not showing any new entries. Upon checking both the /var/log/openhab/events.log and openhab.log files it appears that no new log entries are being generated, the only entries are datetimestamped just before I cleared the cache. Openhab is confirmed up and running normally, but no logs being generated.

Any thoughts?

Please check your org.ops4j.pax.logging.cfg:

Thanks so much for the quick reply. My org.ops4j.pax.logging.cfg appears to be fine, it has a single entry as per your link.

I did however delete both the events.log and openhab.log files and restarted openhab and logging now appears to be working. Go figure.