Skip to content

Instantly share code, notes, and snippets.

@ThakurPriyanka
Created March 29, 2019 17:19
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 ThakurPriyanka/021ce304d8845c323400f8d95cb1c7fc to your computer and use it in GitHub Desktop.
Save ThakurPriyanka/021ce304d8845c323400f8d95cb1c7fc to your computer and use it in GitHub Desktop.
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>testFile.log</file>
<!-- 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="DEBUG">
<appender-ref ref="FILE" />
</root>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment