Dear Friend

How can I limit the logging of logs for the last 2 days only...
and the logs logged older than 2 days should be automatically cleared.

for example... 
using the following configuration I can log the latest 3KB data only...other
older logs are automatically Cleared.

log4j.rootLogger=DEBUG, A1
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.File=temp.txt
log4j.appender.A1.MaxFileSize=3KB
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r %-5p -- %C- %m%n
log4j.logger.Log4jLogSample=info



Thanks in advance.
G.Gopala krishna Prabhu   
([EMAIL PROTECTED])

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

Reply via email to