log4j2.xml <http://apache-logging.6191.n7.nabble.com/file/n50001/log4j2.xml>
Thanks for the Reply Remko. I have attached my config file in the post. I dont have the access to JIRA so could not raise a bug though. Could you please do it for me? As a workaround, I have added the %i to the file pattern, which solves the problem of log overwriting. Also found 1 more bug in documentation on webpage http://logging.apache.org/log4j/2.x/manual/appenders.html under TimeBasedTriggeringPolicy. Here modulate if true and interval as 4 when current time is 3 should make file starting at 4 and then 8, but the true behaviour is, it creates the file at 3 and then at 7 when modulate is set to true. Regards, Parkirat Singh Bagga. -- View this message in context: http://apache-logging.6191.n7.nabble.com/Issue-in-RollingFileAppender-when-using-both-OnStartupTriggeringPolicy-and-TimeBasedTriggeringPolicy-tp49998p50001.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
