You can also read this.... http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/AppContainerLogging
Jake
At 05:44 PM 1/23/2004 +0000, you wrote:
I get the following error when I run my code containing log4j logging (in java struts)
log4j:ERROR Could not open []. java.io.FileNotFoundException: (The system cannot find the path specified)
I have my log4j.xml file in the WEB-INF\classes directory of my server I point to log4j-1.2.6.jar on the classpath of my server on start up I specify Set JAVA_OPTIONS=-Dlog4j.config=C:\bea\user_projects\domains\....\WEB-INF\cl asses\log4j.xml
Is the above error detailing that it cannot find the log4j.xml If so, is this because I have specified the location of incorrectly i.e. should I specify where it is some where other than the startup.cmd of my server Or is it because I have the log4j.xml in the wrong directory.
Apologies for yet another basic query but I could not find any clarification on the location / specification of the location for log4j.xml.
In humble hope yours,
Joe
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
