Modifying logging in the Docker image

Currently deployed an XTDB node using the juxt/xtdb-standalone-rocksdb docker image. It is working great, yet the logging inside the container is at DEBUG which is generating a massive amount of noise. Anyone know how to change this log level for the node running in the docker container? (The docs talk about how to change in the REPL, but not clear how to do this for the node running via docker)
– Greg Reichow, via Clojurians Slack

Hey! This is a good question, the released juxt/xtdb-standalone-rocksdb image is really just a sample/example. You can configure debug logging and more by updating the Dockerfile within the builder scripts, to create your own containers, as per

To change the DEBUG logging level specifically, you will want to create a LOGBACK.xml within a new resources directory, in turn within the docker builder config directory. The Dockerfile already looks for a file (which doesn’t exist by default). You can use something like this:

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
  <root level="INFO">
    <appender-ref ref="STDOUT" />
  <logger name="xtdb" level="INFO" />