How can I change the log level in metabase

We are Running Metabase on Docker, How can we change the log level.I see that metabase uses log4j but don’t find any instructions of setting it up if we run metabase on docker.

Hi @j89
Use the environment variable JAVA_OPTS - example:

... -e JAVA_OPTS="-Dlog4j.configuration=" ...

Hi @flamber,

Can you please help me here, I tried below command and getting following warnings and getting stuck.

docker run -v $PWD/ -e JAVA_OPTS=-Dlog4j.configuration=file:/ metabase/metabase

log4j:WARN No appenders could be found for logger (metabase.util).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See for more info
WARNING: any? already refers to: #'clojure.core/any? in namespace: monger.collection, being replaced by: #'monger.collection/any?.

Note: properties file got created inside docker container but its empty…Any help is appreciated. Thanks

Its working…