Re: RollingFileAppender not working consistently

2017-05-25 Thread Ralph Goers
er.file.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} %-5p > %c{1}:%L - %m%n > > on my Windows machine. > Expectation is to see new file created every second, but it doesnt. All logs > appended to app.log initially created. > > > > -- > View this message in

Re: RollingFileAppender not working consistently

2017-05-25 Thread AlexD
is to see new file created every second, but it doesnt. All logs appended to app.log initially created. -- View this message in context: http://apache-logging.6191.n7.nabble.com/RollingFileAppender-not-working-consistently-tp8582p75831.html Sent from the Log4j - Users mailing list archive at Nabbl

Re: RollingFileAppender not working consistently

2010-04-13 Thread Maarten Bosteels
Just re-checked our code, and it wasn't exactly behaving as described above. I said "no renaming necessary" but our log-files are renamed exactly once: a timestamp is added to the filename when rolling over. The advantage is that the name of the 'current' log-file is predictable, so you can do "t

Re: RollingFileAppender not working consistently

2010-04-13 Thread Curt Arnold
On Apr 13, 2010, at 2:25 AM, Mohan.Radhakrishnan wrote: > > 1. I had to copy the newer DTD from the Apache extras JAR to the log4j JAR. > 'rollingPolicy' was not recognized by the older DTD. Is this right ? rollingPolicy is in the DTD in log4j 1.2.16 which can be downloaded from http://www.apa

RE: RollingFileAppender not working consistently

2010-04-13 Thread Mohan.Radhakrishnan
content of element type "log4j:configuration" must match "(renderer*,appender*,plugin*,(category|logger)*,root?,(categoryFactory|loggerFactory)?)". Activating options Activating options -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consist

RE: RollingFileAppender not working consistently

2010-04-12 Thread Mohan.Radhakrishnan
gt; -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28216608.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscrib

RE: RollingFileAppender not working consistently

2010-04-12 Thread Mohan.Radhakrishnan
/foo.2004-11-24 -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28215329.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e

RE: RollingFileAppender not working consistently

2010-04-10 Thread Robinson, Brian L (IS)
] Sent: Saturday, April 10, 2010 7:01 AM To: Log4J Users List Subject: Re: RollingFileAppender not working consistently On Fri, Apr 9, 2010 at 7:15 AM, Mohan.Radhakrishnan wrote: > > I have looked at the source here and I have a question. > > > Since the log4j extras has other methods

Re: RollingFileAppender not working consistently

2010-04-10 Thread Maarten Bosteels
;s decision to roll is based on fileSize, the name of the file is based on timestamp. No renaming needed. Maarten > > -- > View this message in context: > http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28187724.

RE: RollingFileAppender not working consistently

2010-04-08 Thread Mohan.Radhakrishnan
about appenders that don't roll over but create a file the first time with a timestamp ? Does this solve the roll over issue ? -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28187724.html Sent from the Log4j - Users mailing list ar

RE: RollingFileAppender not working consistently

2010-04-05 Thread Mohan.Radhakrishnan
refer http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28147954.html Sent from the Log4j - Users mailing list archive at Nabbl

RE: RollingFileAppender not working consistently

2010-04-05 Thread Mohan.Radhakrishnan
? -- View this message in context: http://old.nabble.com/RollingFileAppender-not-working-consistently-tp28087307p28139063.html Sent from the Log4j - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: log4j-user-unsubscr

RE: RollingFileAppender not working consistently

2010-03-31 Thread Robinson, Brian L (IS)
ubject: Re: RollingFileAppender not working consistently You did not mention your platform, but I believe that behavior has been observed on Windows platforms when the file is open by another process which will result in any attempt to rename the file to fail. Since renaming never takes place, the file can never su

RE: RollingFileAppender not working consistently

2010-03-31 Thread DOUTCH GARETH-GDO003
@logging.apache.org Subject: RollingFileAppender not working consistently I have a project in several environments (development, integration test, system test, ect.) and I'm using the RollingFileAppender. Unfortunately it is not working consistently across the environments. In some of the environ

Re: RollingFileAppender not working consistently

2010-03-30 Thread Curt Arnold
You did not mention your platform, but I believe that behavior has been observed on Windows platforms when the file is open by another process which will result in any attempt to rename the file to fail. Since renaming never takes place, the file can never successfully roll. ---

RollingFileAppender not working consistently

2010-03-30 Thread Robinson, Brian L (IS)
I have a project in several environments (development, integration test, system test, ect.) and I'm using the RollingFileAppender. Unfortunately it is not working consistently across the environments. In some of the environments only a single log file is created and it grows very large. I've att