[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    RE: Log file not rotating
From:       "Kannan.N" <kannanar () cisco ! com>
Date:       2010-04-29 14:41:22
Message-ID: 28401511.post () talk ! nabble ! com
[Download RAW message or body]


am using log4j.properties for configurations. It was working fine but
rotation only not happening after restarted that service.



Reddy, Ramachandra-2 wrote:
> 
> I use this and it works fine.
> 
> <appender name="rfile" class="org.apache.log4j.RollingFileAppender">
> 		
> 		
> 		<!-- Keep one backup file -->
> 		
> 		<layout class="org.apache.log4j.PatternLayout">
> 		
> 		</layout>
> 	</appender>
> 
> 
> -----Original Message-----
> From: Kannan.N [mailto:kannanar@cisco.com] 
> Sent: Thursday, April 29, 2010 10:14 AM
> To: log4j-user@logging.apache.org
> Subject: Log file not rotating
> 
> 
> Hi,
> 
> Am using log 4j 1.2.15 and I have processes are running as a service. If
> i
> restart a service the logs files are not rotated. Kindly help me on
> solving
> the issue.
> 
> Thanks in Advance.
> Kannan.N.
> -- 
> View this message in context:
> http://old.nabble.com/Log-file-not-rotating-tp28401107p28401107.html
> Sent from the Log4j - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> *This e-mail and any attachments may contain content protected 
> under federal law and is also confidential and proprietary in nature. 
> If you received this message in error, please notify the sender 
> immediately and delete the original and destroy all copies of the 
> message and any attachments. Any other use of this e-mail by you 
> including retaining, using, copying, distributing, or otherwise 
> disclosing this information in any manner is prohibited.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Log-file-not-rotating-tp28401107p28401511.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic