Hi ,

 

I have added rollover variable as suggested by log4j-dev group to move the logfile to a archive file can any one suggest me what and how to mention in the properties file.

 

 

My current .lcf file is

 

#Config file for DailyRollingFileAppender

#This is an example config to use DailyRollingFileAppender in Time #based Backups only

 

log4j.rootCategory=info, R

log4j.appender.R=org.apache.log4j.DailyRollingFileAppenderArchieve

 

#file to log to

log4j.appender.R.File=\\\\c:\\logs\\Archieve.csv

 

 

#Date Rolling params

log4j.appender.R.datePattern='.'yyyy-MM-dd

log4j.appender.R.rolloverDir=\\archieve

 

 

#layout options

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%m%n

 

I want to move the backup files to archieve directory

 

Regards,

Arun.

 

**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to