From: Shrock, C. <Sh...@in...> - 2004-11-30 01:17:32
|
I didn't cc the list on this: Most appreciated. I didn't -Dlog4j.configuration=file:///<fullpath>\log4j.xml -jar <myjarfile> when executing. Doh! I found it at the last minute by looking at the testpanel.bat, a file that I had completely ignored until today. I don't like having to specify the complete path to the xml file. Using -Dlog4j.debug=true did not yield much success. I think I might just put the log4j.xml on a webserver and call it good though. Again, thank you! -----Original Message----- From: Kelley, Peter (HEALTH) [mailto:pet...@he...] Sent: Monday, November 29, 2004 2:40 PM To: 'Shrock, Court' Cc: 'hl7...@li...' Subject: RE: [HAPI-devel] I quick question from a newbie re log4j Try setting the log4j.debug property on the command line for your application using the JVM -D option. This will give you more information about where log4j is looking for the file. Almost certainly your classpath isn't including the path to the log4j.xml. Try adding the directory containing your log4j.xml file to your classpath. |