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
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
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
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
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
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
/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
]
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
;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.
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
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
?
--
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
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
@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
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.
---
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
16 matches
Mail list logo