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:[email protected]] 
> Sent: Thursday, April 29, 2010 10:14 AM
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
> 
> *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: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to