logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi <em...@encs.concordia.ca>
Subject About onStartTriggeringPolicy for 2.6.1
Date Mon, 13 Jun 2016 14:04:13 GMT

For 2.6.1, added onStartTriggeringPolicy:

       <RollingFile name="debug_html" fileName="@log4j.debug.html@"
          <HTMLLayout charset="UTF-8" title="......" />
             <OnStartupTriggeringPolicy />
             <SizeBasedTriggeringPolicy size="50 MB" />

.  Reload/restart tomcat
    debug.html is changed to debug-1.html automatically (even 
    New debug.html is created

So, it's not possible when debug.html < 50 MB, reload tomcat, info 
appended to debug.html anymore?

Please add the {{OnStartupTriggeringPolicy}} policy to your configuration.
OnStartupTriggeringPolicy was forcing a rollover of empty files at 
startup and would append a second footer that was added by the prior 

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message