Skip to content

Commit

Permalink
Configure log levels
Browse files Browse the repository at this point in the history
- keep debug only for our code
- use info for others

Since changes in dependencies, the debug logging is now too much verbose
to be useful on a day to day basis.

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
  • Loading branch information
apupier committed Jul 4, 2023
1 parent 741c88a commit a57cde8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ appender.rolling.strategy.delete.ifLastModified.type = IfLastModified
# Delete all files older than 30 days
appender.rolling.strategy.delete.ifLastModified.age = 30d

# Configure Camel Tooling logger
logger.cameltooling.name = com.github.cameltooling
logger.cameltooling.level = debug
logger.cameltooling.appenderRef.rolling.ref = fileLogger
logger.cameltooling.additivity = false

# Configure root logger
rootLogger.level = debug
rootLogger.level = info
rootLogger.appenderRef.rolling.ref = fileLogger

0 comments on commit a57cde8

Please sign in to comment.