Hello,
I’m running the OH3 release in a Docker container. For debugging reasons I want to change the OH LogLevel. According to the Documentation there are two ways changing the LogLevel.
-
Console: Unfortenately I don’t know how to access the Karaf Console after having started the Container using Docker-Compose. I found a forum post, but the mentioned binary
/openhab/runtime/karaf/bin/client
doesn’t exist in the docker Image (openhab/openhab:3.0.0-alpine
) I’m using. Is there a way to get to the OH console in a docker based environment? -
File: It also should be possible to change the LogLevel via the config files. I extended the
java.util.logging.properties
with the following lines, but unfortunately it seems that OH still logs on INFO-Level:
org.openhab = DEBUG
org.eclipse.smarthome = DEBUG
What’s the prefered way to change the LogLevel in an Docker environment? Or is there even an environment variables based approach available?
Thanks!