Skip to content

Instantly share code, notes, and snippets.

@vepo
Last active May 14, 2020 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vepo/82b64b6cc23bc5d85f0e05cdbc36603f to your computer and use it in GitHub Desktop.
Save vepo/82b64b6cc23bc5d85f0e05cdbc36603f to your computer and use it in GitHub Desktop.
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>execution.log</file>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="STDOUT" />
</appender>
<root level="${LOG_LEVEL:-DEBUG}">
<appender-ref ref="${APPENDER:-STDOUT}" />
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment