You can leave the configuration file unchanged or alternatively replace every occurrence of the string "category" with the string "logger".
At 15:24 24.07.2002 -0700, Abhijat Thakur wrote: >We are moving from log4j version 1.1 to 1.2 . In the new version instead >of Category we should be using Logger class. I could not find an example >of how the configuraton file should change accordingly. Our old >loggingconfiguration file looks something like > >log4j.category.com.bdna.agenda=DEBUG,AGENDA_Appender >log4j.additivity.com.bdna.agenda=false >log4j.appender.AGENDA_Appender=org.apache.log4j.RollingFileAppender >log4j.appender.AGENDA_Appender.File=agenda.log >log4j.appender.AGENDA_Appender.Append=true >log4j.appender.AGENDA_Appender.MaxFileSize=2000kb >log4j.appender.AGENDA_Appender.MaxBackupIndex=40 >log4j.appender.AGENDA_Appender.layout=org.apache.log4j.PatternLayout >log4j.appender.AGENDA_Appender.layout.ConversionPattern= [%d{ISO8601}] >%-10.10c{1} %-5p: %m%n > > >How does this file change in relation to the new version. Does my first >line of configuration file should now read >log4j.logger.com.bdna.agenda=DEBUG,AGENDA_Appender > >thanks > >abhijat -- Ceki For complete log4j documentation please refer to http://qos.ch/log4jBook.html -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>