Skip to content

Commit

Permalink
Recommend disabling Apache HTTP client wire logging
Browse files Browse the repository at this point in the history
Apache HTTP client's wire logger produces a large amount of log data,
which can include secrets. Therefore recommend turning it off, so that
it won't become enabled in case the root logger's level is increased
to DEBUG.

Fixes testcontainers#4913
  • Loading branch information
edysli committed Oct 4, 2022
1 parent f5e79b9 commit 71bad7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/supported_docker_environment/logging_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ 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="org.apache.hc.client5.http.wire" level="OFF"/>
</configuration>
```

0 comments on commit 71bad7d

Please sign in to comment.