logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Upshall <rupsh...@psasoft.com>
Subject not parsing properties file
Date Thu, 29 Jul 2004 15:05:43 GMT
I have 2 systems, both running the same test app with same test
properties.  One system works as expected but the other detects the
correct log4j.properties but doesn't parse it.

Here is the debug output from the failing system:

 > java testlog
   log4j: Trying to find [log4j.xml] using context classloader
   log4j: Trying to find [log4j.xml] using
   2106 class loader.
   log4j: Trying to find [log4j.xml] using
   log4j: Trying to find [log4j.properties] using context classloader
   log4j: Using URL [file:/home/ru/log4j.properties] for automatic log4j
   log4j: Reading configuration from URL file:/home/ru/log4j.properties
   log4j: Could not find root logger information. Is this OK?
   log4j: Finished configuring.
   log4j:WARN No appenders could be found for logger (testlog).
   log4j:WARN Please initialize the log4j system properly.

I have attached the lo4j.properties and the source for the test app,
does this make sense to anybody?

View raw message