That all looks fine except I am not sure if lines 3-4 are ok. Are you using automatic config with log4j.xml in your classpath? Are you sure nothing else is configuring log4j?
On 5/23/07, ben short <[EMAIL PROTECTED]> wrote:
Heres my output with -Dlog4j.debug. Seems to show the correct setup of the logger. log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource(). log4j: Could not find resource: [null]. log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. log4j: System property is :null log4j: Standard DocumentBuilderFactory search succeded. log4j: DocumentBuilderFactory is: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl log4j: debug attribute= "null". log4j: Ignoring debug attribute. log4j: Threshold ="null". log4j: Retreiving an instance of org.apache.log4j.Logger. log4j: Setting [org.springframework] additivity to [true]. log4j: Level value for org.springframework is [WARN]. log4j: org.springframework level set to WARN log4j: Retreiving an instance of org.apache.log4j.Logger. log4j: Setting [org.apache.commons.httpclient] additivity to [true]. log4j: Level value for org.apache.commons.httpclient is [WARN]. log4j: org.apache.commons.httpclient level set to WARN log4j: Level value for root is [all]. log4j: root level set to ALL log4j: Class name: [org.apache.log4j.RollingFileAppender] log4j: Setting property [maxFileSize] to [128MB]. log4j: Setting property [maxBackupIndex] to [5]. log4j: Setting property [file] to [/opt/apache-tomcat-5.5.23/logs/jc_core.log]. log4j: Setting property [threshold] to [DEBUG]. log4j: Parsing layout of class: "org.apache.log4j.PatternLayout" log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} %5p %C:%L - %m%n]. log4j: setFile called: /opt/apache-tomcat-5.5.23/logs/jc_core.log, true log4j: setFile ended log4j: Adding appender named [FILE] to category [root]. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- James Stauffer http://www.geocities.com/stauffer_james/ Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]