Thanks Ceki, I had tried that and then went down into the code to try to specify the configuration ergo my previous message. So I tried the the automatic configuration (with a couple of print statements in both ProjectTestSuite and Abbreviation to make sure the system property was available) and ProjectTestSuite found the property and configured correctly, yet the lower class still 'yacked'.
E:\working\aviation>java -cp ./classes;./bin/junit3.7/junit.jar;./bin/jakarta-log4j-1.2.8/dist/lib/log4j- 1.2.8.jar -Dlog4j.configura tion=file:/e:/working/aviation/log4j.properties com.growlingcow.ProjectTestSuite log4j.configuration[ProjectTestSuite] file:/e:/working/aviation/log4j.properties (ProjectTestSuite.java:45) INFO com.growlingcow.ProjectTestSuite - In main method for class com.growlingcow.ProjectTestSuite log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. log4j:ERROR The class "org.apache.log4j.Appender" was loaded by log4j:ERROR [EMAIL PROTECTED] whereas object of type log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [EMAIL PROTECTED] log4j:ERROR Could not instantiate appender named "A1". log4j:WARN No appenders could be found for logger (com.growlingcow.aviation.cfs.data.Abbreviation). log4j:WARN Please initialize the log4j system properly. log4j.configuration [Abbrev] file:/e:/working/aviation/log4j.properties log4j.configuration [Abbrev] file:/e:/working/aviation/log4j.properties data/Abbreviations.dat data/NOTAMAbbreviations.dat fake Key
Log4j's output is quite informative in this case. It points to a classloader problem. You probably have multiple copies of log4j.jar lying around.
-- Ceki G�lc�
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
