Skip to content

Commit

Permalink
Raise Kafka client log level from INFO to WARN (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro authored Apr 2, 2024
1 parent 7663628 commit 91bc41e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/docker/logback-json.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<appender-ref ref="JSON_STDOUT" />
</logger>

<logger name="org.apache.kafka" level="${dependencyTrack.logging.level:-INFO}" additivity="false">
<logger name="org.apache.kafka" level="WARN" additivity="false">
<appender-ref ref="JSON_STDOUT" />
</logger>

Expand Down
2 changes: 1 addition & 1 deletion src/main/docker/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<appender-ref ref="EMBEDDED_SERVER" />
</logger>

<logger name="org.apache.kafka" level="${dependencyTrack.logging.level:-INFO}" additivity="false">
<logger name="org.apache.kafka" level="WARN" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
</logger>
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
<appender-ref ref="EMBEDDED_SERVER" />
</logger>

<logger name="org.apache.kafka" level="WARN" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
</logger>

<root level="WARN">
<appender-ref ref="FILE" />
<appender-ref ref="SECURITY_CONSOLE" />
Expand Down

0 comments on commit 91bc41e

Please sign in to comment.