Christian,

Thanks a lot, I will try it out!

Thanks,
Jim
[EMAIL PROTECTED]



                                                                                
                                                                      
                      "Steindl                                                  
                                                                      
                      Christian"               To:       "Log4CXX User" 
<log4cxx-user@logging.apache.org>                                             
                      <[EMAIL PROTECTED]        cc:                             
                                                                       
                      >                        Subject:  AW: Some easy 
questions                                                                      
                                                                                
                                                                      
                      09/22/2005 10:29                                          
                                                                      
                      AM                                                        
                                                                      
                      Please respond to                                         
                                                                      
                      "Log4CXX User"                                            
                                                                      
                                                                                
                                                                      




Hi Jim,

Check out my patch for the propertyconfigurator on log4cxx-dev, then you
can set the options like this:

log4j.appender.FILE=RollingFileAppender
log4j.appender.FILE.File=sample.log
log4j.appender.FILE.rollingPolicy=FixedWindowRollingPolicy
log4j.appender.FILE.rollingPolicy.MaxIndex=3
log4j.appender.FILE.triggeringPolicy=SizeBasedTriggeringPolicy
log4j.appender.FILE.triggeringPolicy.MaxFileSize=1MB

Greetz
Christian

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 22. September 2005 15:33
> An: Log4CXX User
> Betreff: Some easy questions
>
> 1.  Does anyone know a website with decent docs on using the
> rolling appenders?
>
> 2.  More specifically, I need information on setting up size
> based rolling file appenders via a properties file or xml
> configuration file.  I am getting overwhelmed with all the
> new options for the rolling appenders, and I can't find many
> examples or docs on the web.
>
> Thanks,
>
> - Jim
> [EMAIL PROTECTED]
>
>
>
>





Reply via email to