Hi Henning, Copied your log4j.properties verbatim into my /conf directory and still get this error message. Checked my TR.props has "log4j.file = /WEB-INF/conf/Log4j.properties"
log4j:WARN No appenders could be found for logger (org.apache.turbine.Turbine). log4j:WARN Please initialize the log4j system properly. Do I have to write some code to handle an appender? Is there something else? Rgds. David -----Original Message----- From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 12:57 To: [EMAIL PROTECTED] Subject: Re: T2.3 dev logging setup "David Wynter" <[EMAIL PROTECTED]> writes: >Hi, >I have tried both standard log4j.props seen in the Service how to on the >T2.3 dev website and the log4j.props as provided in the T2.3 CVS head and >both times I get Here is my trustworthy old log4j.properties file, which works for me with the 2.3-dev as long as I use the log4j stuff: --- cut --- # ------------------------------------------------------------------------ # # Logging Configuration # # $Id: Log4j.properties,v 1.3 2003/06/20 00:10:22 henning Exp $ # # ------------------------------------------------------------------------ # # If we don't know the logging facility, put it into the # turbine.log # log4j.rootLogger = INFO, turbine # # Turbine goes into Turbine Log # log4j.category.org.apache.turbine = INFO, turbine log4j.additivity.org.apache.turbine = false # # Torque has its own log file # log4j.category.org.apache.torque = INFO, torque log4j.additivity.org.apache.torque = false # # Velocity Logfile # log4j.category.velocity = INFO, velocity log4j.additivity.velocity = false # # Avalon Logfile # log4j.category.avalon = INFO, avalon log4j.additivity.avalon = false # # Scheduler Category # log4j.category.scheduler = INFO, scheduler log4j.additivity.scheduler = false ######################################################################## # # Logfile definitions # ######################################################################## # # turbine.log # log4j.appender.turbine = org.apache.log4j.FileAppender log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log log4j.appender.turbine.layout = org.apache.log4j.PatternLayout log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.turbine.append = false # # torque.log # log4j.appender.torque = org.apache.log4j.FileAppender log4j.appender.torque.file = ${applicationRoot}/logs/torque.log log4j.appender.torque.layout = org.apache.log4j.PatternLayout log4j.appender.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.torque.append = false # # Scheduler Output # log4j.appender.scheduler = org.apache.log4j.FileAppender log4j.appender.scheduler.file = ${applicationRoot}/logs/scheduler.log log4j.appender.scheduler.layout = org.apache.log4j.PatternLayout log4j.appender.scheduler.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.scheduler.append = false # # Velocity gets configured to write its output onto the velocity # category. # log4j.appender.velocity = org.apache.log4j.FileAppender log4j.appender.velocity.file = ${applicationRoot}/logs/velocity.log log4j.appender.velocity.layout = org.apache.log4j.PatternLayout log4j.appender.velocity.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.velocity.append = false # # Avalon gets configured to write its output onto the avalon # category. # log4j.appender.avalon = org.apache.log4j.FileAppender log4j.appender.avalon.file = ${applicationRoot}/logs/avalon.log log4j.appender.avalon.layout = org.apache.log4j.PatternLayout log4j.appender.avalon.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.avalon.append = false --- cut --- This is, BTW exactly the same file that is in the turbine HEAD CVS as conf/Log4j.properties. In the TR.props file, logging is only one line: --- cut --- log4j.file = /WEB-INF/conf/Log4j.properties --- cut --- Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire --- Quote of the week: "It is pointless to tell people anything when you know that they won't process the message." --- Jonathan Revusky --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
