[SOLVED] Where are the Logs?

Hey Community,
Simple Question, I’ve didn’t found an answer to.
Where are the Logs of java Addons (binding)?
For example, of this code:

logger.trace("Thread {} waiting for data on port {}", this, socket.getLocalPort());


It goes to openhab.log by default. But, in the console, you need to change the log level for your binding to TRACE in order for it to be logged.

log:set TRACE name.of.your.binding
1 Like

Thank you!

Updated my Karaf Console and restarted my Pi.
But I’m not receiving any logs from this Binding with the OH2 Log Viewer (tail -F /var/log/openhab2/openhab.log /var/log/openhab2/events.log)
Is it normal, did I forget about something?

openhab> log:get org.openhab.binding.mihome