SHARE
TWEET

Untitled

a guest Aug 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
  2.         <encoder>
  3.             <pattern>${consoleLayoutPattern}</pattern>
  4.         </encoder>
  5. </appender>
  6.  
  7. <appender name="LOG_FILE"
  8.         class="ch.qos.logback.core.rolling.RollingFileAppender">
  9.         <file>${fileName}</file>
  10.         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
  11.             <fileNamePattern>${filePattern}</fileNamePattern>
  12.             <maxHistory>60</maxHistory>
  13.             <totalSizeCap>3GB</totalSizeCap>
  14.         </rollingPolicy>
  15.         <encoder>
  16.             <pattern>${rollingFilePatternLayoutPattern}</pattern>
  17.         </encoder>
  18. </appender>
  19.  
  20. <root level="error">
  21.         <appender-ref ref="LOG_FILE" />
  22.         <appender-ref ref="CONSOLE" />
  23. </root>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top