logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parkirat Bagga <parki...@bsb.in>
Subject Re: Issue in RollingFileAppender when using both OnStartupTriggeringPolicy and TimeBasedTriggeringPolicy.
Date Sun, 03 Aug 2014 13:08:18 GMT
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 <remko.popma@gmail.com> 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 <parkirat@bsb.in> 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: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message