users@glassfish.java.net

Re: [webtier] Log4J Log Rotation Issues

From: Sridatta Viswanath <Sridatta.Viswanath_at_Sun.COM>
Date: Wed, 28 May 2008 09:48:57 -0700

cross-posting on users alias for wider coverage.

-Sridatta

webtier_at_javadesktop.org wrote:
> Does anyone use log4j in their application, and have you run into an issue where the log rotation is not working? Since switching from JRUN4 to GlassFish, we seem to be experiencing this issue. Unfortunately, the issue does not appear consistent, since some of our application servers are able to perform the log rotation just fine, while others are giving the warning in server.log of:
>
> [#|2008-05-23T00:01:56.502-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=39;_ThreadName=httpSSLWorkerThread-80-8;_RequestID=25ac06bf-9d9b-4713-b443-7a010c8b282d;|log4j:ERROR Failed to rename [c:/select2perform/logs/piw6prod.log] to [{log-filename}.log.2008-05-22].|#]
>
> If anyone has a resolution to this issue, any help would be appreciated.
> [Message sent by forum member 'yangp3' (yangp3)]
>
> http://forums.java.net/jive/thread.jspa?messageID=276778
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>