[SOLVED] No Logs Openhab2

Hello! I have a problem. I do not create logs from openHab2. /var/log/openhab2/openhab.log and /var/log/openhab2/events.log are not created. I create /var/log/openhab2/openhab.log but logs are not created

What’s your setup?

  • RPI
  • Docker
  • Windows
  • MAC

Which version of openHAB are you using?

yada yada yada

I have Armbian on orange pi. I have several armbian PC, but only one has no logs…

did you check the openhab-cli log:show|log:tail if there are even logs generated?

log:tail works. But it shows event.log. I need openhab.log. And how can I see directory of logs?
Now it create. in directory /var/log/openhab2. It create 3 files…

You created the folder and then it worked? or did it just now created the files after you checked log:tail?

I created openhab.log and it was empty. but after log:tail It create events.log and audit.log. Thank you

That is really strange, but glad I could help…