Skip to content

Instantly share code, notes, and snippets.

@rustyrazorblade
Created February 28, 2019 00:20
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 rustyrazorblade/54be96155ede25953e3996bc69736107 to your computer and use it in GitHub Desktop.
Save rustyrazorblade/54be96155ede25953e3996bc69736107 to your computer and use it in GitHub Desktop.
logback
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>/home/jhaddad/.tlpstress/stress.log</file>
<append>false</append>
<!-- set immediateFlush to false for much higher logging throughput -->
<immediateFlush>false</immediateFlush>
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>
<root level="WARN">
<appender-ref ref="FILE" />
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment