I.m using a wrapper class (i.e org.apache.log4j.rolling.MyTimeBasedRollingPolicy) to performance an specific rollingPolicy for my purpose.
Is there any way to configure it in log4j properties file?
i tried something like :
log4j.rootLogger=DEBUG, A1 log4j.appender.A1=org.apache.log4j.rolling.RollingFileAppender log4j.appender.A1.RollingPolicy=org.apache.log4j.rolling.MyTimeBasedRollingPolicy log4j.appender.A1.RollingPolicy.ActiveLogFile=my_log.txt log4j.appender.A1.RollingPolicy.FileNamePattern='.'yyyy-MM-dd-HH-mm log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
but it doesn´t work. Thanks in advance
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]