Re: Problem with daily rotation on log4j2 RollingFile

2018-09-05 Thread Ralph Goers
> are being lost? > > Thanks, > > Joan. > > > -----Mensaje original- > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Enviado el: sábado, 25 de agosto de 2018 5:03 > Para: Log4J Users List > Asunto: Re: Problem with daily rotatio

RE: Problem with daily rotation on log4j2 RollingFile

2018-09-05 Thread Joan Balagueró - ventusproxy
o: Re: Problem with daily rotation on log4j2 RollingFile As to the question about log4j 1… I looked at the RollingFileAppender in the log4j project. It only supports rolling on file size and doesn’t support time-based rolling at all. The RollingFileAppender in log4j-extras does support rolling on tim

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
daily rotation working? >>> >>> Thanks again, >>> Joan >>> >>> -Mensaje original- >>> De: Ralph Goers [mailto:ralph.go...@dslextreme.com] >>> Enviado el: viernes, 24 de agosto de 2018 22:48 >>> Para: Log4J Users List >&

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Matt Sicker
an > > > > -Mensaje original----- > > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > > Enviado el: viernes, 24 de agosto de 2018 22:48 > > Para: Log4J Users List > > Asunto: Re: Problem with daily rotation on log4j2 RollingFile > > > > Yes, th

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
> > -Mensaje original- > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Enviado el: viernes, 24 de agosto de 2018 22:48 > Para: Log4J Users List > Asunto: Re: Problem with daily rotation on log4j2 RollingFile > > Yes, the pattern is OK. What is meant b

RE: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
o:ralph.go...@dslextreme.com] Enviado el: viernes, 24 de agosto de 2018 22:48 Para: Log4J Users List Asunto: Re: Problem with daily rotation on log4j2 RollingFile Yes, the pattern is OK. What is meant by the reference to the SimpleDateFormat is that you should using the pattern characters for SimpleDateFormat

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
viado el: viernes, 24 de agosto de 2018 19:24 > Para: Log4J Users List > Asunto: Re: Problem with daily rotation on log4j2 RollingFile > > Matt, I don’t see anything wrong with the file pattern. > > Ralph > >> On Aug 24, 2018, at 10:18 AM, Matt Sicker wrote: >>

RE: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
Sorry, is the pattern ok or not? Thanks, Joan. -Mensaje original- De: Ralph Goers [mailto:ralph.go...@dslextreme.com] Enviado el: viernes, 24 de agosto de 2018 19:24 Para: Log4J Users List Asunto: Re: Problem with daily rotation on log4j2 RollingFile Matt, I don’t see anything wrong

RE: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
19:18 > Para: Log4J Users List > Asunto: Re: Problem with daily rotation on log4j2 RollingFile > > The TimeBasedTriggeringPolicy does not check for rollover on every log event > to reduce the overhead on busy systems. When you are only logging a few > events you will see it log

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Matt Sicker
On Fri, 24 Aug 2018 at 12:24, Ralph Goers wrote: > Matt, I don’t see anything wrong with the file pattern. > >From the manual: The pattern of the file name of the archived log file. The format of the > pattern is dependent on the RolloverPolicy that is used. The > DefaultRolloverPolicy will acc

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
nd that with such a high > concurrency I have it's better to use RollingRandomFile. > > Thanks, > Joan. > > -Mensaje original- > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Enviado el: viernes, 24 de agosto de 2018 19:18 > Para: Log4J Users

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Carter Kozak
; concurrency I have it's better to use RollingRandomFile. > > Thanks, > Joan. > > -Mensaje original- > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Enviado el: viernes, 24 de agosto de 2018 19:18 > Para: Log4J Users List > Asunto: Re: Problem with daily rot

RE: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
understand that with such a high concurrency I have it's better to use RollingRandomFile. Thanks, Joan. -Mensaje original- De: Ralph Goers [mailto:ralph.go...@dslextreme.com] Enviado el: viernes, 24 de agosto de 2018 19:18 Para: Log4J Users List Asunto: Re: Problem with daily rot

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
ess.2018-08-26? > > Thanks, > > Joan. > > -Mensaje original- > De: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Enviado el: viernes, 24 de agosto de 2018 19:24 > Para: Log4J Users List > Asunto: Re: Problem with daily rotation on log4j2 RollingFile > > Matt, I

RE: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
o: Re: Problem with daily rotation on log4j2 RollingFile Matt, I don’t see anything wrong with the file pattern. Ralph > On Aug 24, 2018, at 10:18 AM, Matt Sicker wrote: > > I don't think your filePattern value is correct. You should be using > format specifiers from Simpl

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
Matt, I don’t see anything wrong with the file pattern. Ralph > On Aug 24, 2018, at 10:18 AM, Matt Sicker wrote: > > I don't think your filePattern value is correct. You should be using format > specifiers from SimpleDateFormat there, not PatternLayout. Or you could put > the date in a $${} to

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Matt Sicker
I don't think your filePattern value is correct. You should be using format specifiers from SimpleDateFormat there, not PatternLayout. Or you could put the date in a $${} to delay expansion it looks like. On Fri, 24 Aug 2018 at 11:30, Joan Balagueró - ventusproxy < joan.balagu...@ventusproxy.com>

Re: Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Ralph Goers
The TimeBasedTriggeringPolicy does not check for rollover on every log event to reduce the overhead on busy systems. When you are only logging a few events you will see it log a few records to the prior file before it checks for a rollover. In your case you would be better off using the CronTrig

Problem with daily rotation on log4j2 RollingFile

2018-08-24 Thread Joan Balagueró - ventusproxy
Hello, I’m using RollingFileAppender with full async logging. This is the config: %m%d{-MM-dd HH:mm:ss.SSS}%n I started to send requests the 2018-08-22, the vproxy_access.2018-08-22 was correctly created and reque