Thanks Remko for the reply. I have raised the JIRA for the issue: https://issues.apache.org/jira/browse/LOG4J2-758
Regards, Parkirat Singh Bagga. On Sun, Aug 3, 2014 at 6:20 PM, Remko Popma <[email protected]> wrote: > It is probably better if you raise the issue on Jira yourself. (Anyone can > create a Jira account.) That way you'll get emails when there is an update > on your issue. > > Thanks for pointing at the doc issue. I'll check it out when I have a > chance. > > Remko > > Sent from my iPhone > > > On 2014/08/03, at 21:08, parkirat <[email protected]> wrote: > > > > 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] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
