Hi Pid and Chris, Thanks for your response.
I've tried registering myself to log4j mailing list, but remote MTA is giving some error and subscription is failing to validate. Chris, Please refer first line in following API doc, you will find that two problems are reported in it and option suggested us TimeBasedRollingPolicy. http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html "DailyRollingFileAppender has been observed to exhibit synchronization issues and data loss............." Pid, >> Copied apache-log4j-extras-1.0.jar in ~/WEB-INF/lib directory, where my old >> log4j is present. I've put both Jars in <TOMCAT_HOME>/webapps/cp/WEB-INF/lib/ directory. Restarting tomcat (catalina.out) shows that it has picked up both the JAR files, still it is saying that "Failing to load class.......". This confirms that above path "<TOMCAT_HOME>/webapps/cp/WEB-INF/lib/" is set in PATH variable. Thanks, Saurabh Agrawal -----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, June 24, 2010 9:04 PM To: Tomcat Users List Subject: Re: Cannot configure apache-log4j-extras-1.0 with apache-log4j-1? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Saurabh, On 6/24/2010 7:37 AM, Saurabh Agrawal wrote: > Problem: > I've tried many times to configure apache-log4j-extras-1.0 with > apache-log4j-1.2.16, but it is still failing to load classes from > configure > apache-log4j-extras-1.0 JAR file. Pid's right: this is a log4j question, not a Tomcat one, unless you've got those JAR files in fully places. Where have you put those JAR files? > What I want to do: > Actually I want to do time based log rotation the my application > specific log files. I could able to configure using > 'net.cp.ps.sdk.util.log.DailyRollingFileAppender' class, but few > problems are reported on Apache site for this class. What's wrong with org.apache.log4j.DailyRollingFileAppender? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwjewMACgkQ9CaO5/Lv0PC65gCfbNYe4bSxe6GYcyK56xo8EC0p Xo0AnieVBi7UyuPXBF0pMEkTOiFOyokK =blf6 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org