rdhabalia opened a new pull request #2955: Remove conflicting log4j2 policies
URL: https://github.com/apache/pulsar/pull/2955
 
 
   ### Motivation
   
   After moving to log4j2, issue was that sometimes our log files were not 
rolling over properly and rolled-over archived file was not complete and it was 
because of conflicting roll-over policies `TimeBasedTriggeringPolicy` and 
`CronTriggeringPolicy`. `TimeBasedTriggeringPolicy` already rolls-over file 
after a day so, log4j2 doesn't need `CronTriggeringPolicy` which was causing 
issue while rolling the file. Removal of `CronTriggeringPolicy` fixed the issue.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to