Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/supported_docker_environment/logging_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,14 @@ should be included in your classpath to show a reasonable level of log output:

<logger name="org.testcontainers" level="INFO"/>
<logger name="com.github.dockerjava" level="WARN"/>
<logger name="com.github.dockerjava.zerodep.shaded.org.apache.hc.client5.http.wire" level="OFF"/>
</configuration>
```

In order to troubleshoot issues with Testcontainers, increase the logging level of `org.testcontainers` to `DEBUG`:

```xml
<logger name="org.testcontainers" level="DEBUG"/>
```

Avoid changing the root logger's level to `DEBUG`, because this turns on debug logging for every package whose level isn't explicitly configured here, resulting in a large amount of log data.