OH 3.2.0.M2 Jython Logging

Hi All,

for unknown reasons I dont see my logs in the openhab.log anymore, that i create in my jython scripts.

from org.slf4j import LoggerFactory
LoggerFactory.getLogger("org.eclipse.smarthome.automation.example").info("DEBUG: ")

I use OH 3.2.0.M2. Has something changed with logging in this regard?
Thanks for your advice.

Everything that was called org.eclipse.smarthome moved to org.openhab. There is nothing left configured to handle logs by that name.

1 Like

…this one was of help. Link

After configuring the following in Karaf Console my logs came back.

log:set DEBUG org.eclipse.smarthome.model.script.Rules