Rotate 'debug.log' hourly

In 'TRAVERSE_HOME\etc\logging\debug.xml' replace the existing 'appender' XML element (everything between the start and ending 'appender' tags) with the following example to rotate the 'debug' log file every hour and retain 24 files: 

<!-- appender used for capturing debug data from specific classes -->
<appender name="FILEdebug" class="ch.qos.logback.core.rolling.RollingFileAppender">
     <pattern>%d{ISO8601} %c[%t]: \(%p\) \(%F:%L\) %m%n</pattern>
   <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
   <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.