Skip to content

Commit

Permalink
Comment out debugging file appender to avoid creating phantom app.log…
Browse files Browse the repository at this point in the history
… files.
  • Loading branch information
vbabanin committed Feb 1, 2024
1 parent 70bd493 commit fa8eccd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions instrumentation-agent/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
<Console name="ConsoleAppender" target="SYSTEM_OUT">
<PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} %msg%n}{FATAL=red blink, ERROR=red bold, WARN=yellow bold, INFO=blue, DEBUG=green, TRACE=blue}"/>
</Console>
<File name="FileAppender" fileName="logs/app.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</File>
<!-- <File name="FileAppender" fileName="logs/app.log">-->
<!-- <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>-->
<!-- </File>-->
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="ConsoleAppender"/>
</Root>
</Loggers>
<Logger name="file" level="info" additivity="false">
<AppenderRef ref="FileAppender"/>
</Logger>
<!-- <Logger name="file" level="info" additivity="false">-->
<!-- <AppenderRef ref="FileAppender"/>-->
<!-- </Logger>-->
</Configuration>

0 comments on commit fa8eccd

Please sign in to comment.