RE: log4j.properties not read

2004-01-27 Thread Joe Collins
I have had some issues with log4j using weblogic 8.1. My file log4j.xml would not get picked up. I found that by putting log4j.xml and log4j.dtd in the directory bea\weblogic81\server\bin of my server, that the log4j.xml file got picked up and logs created. This does seem rather crude but did ge

location / specification of location for log4j

2004-01-23 Thread Joe Collins
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

RE: configuring log4j with BEA Weblogic 8.1

2004-01-23 Thread Joe Collins
I have the root level set to ON in the log4j.xml, below is the log4j.xml file, anything obvious a miss?. I did have the appenders set to ConsoleAppender and removed the reference to param name="File", but the logs were still not generated. Many thanks Joe

configuring log4j with BEA Weblogic 8.1

2004-01-22 Thread Joe Collins
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 on start up of my server. In my log4j.xml I specify th

RE: log4j.xml

2004-01-21 Thread Joe Collins
your code and your style ;) Yoav Shapira Millennium ChemInformatics >-Original Message----- >From: Joe Collins [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 21, 2004 12:59 PM >To: [EMAIL PROTECTED] >Subject: log4j.xml > >Hi , > >I have a log4j.xml file writt

log4j.xml

2004-01-21 Thread Joe Collins
Hi , I have a log4j.xml file written which declares a root logger and a number of other loggers / appenders in a hierarchy In my code I have called a logger called NetMaintLogger as below. org.apache.log4j.Logger NetMaintLogger = org.apache.log4j.Logger.getLogger("NetMaintLogger") ;

creating a logging hierarchy

2004-01-16 Thread Joe Collins
Hi! Where do I create the hierarchy in log4j i.e. must I have a hierarchy of class files or can I simply create loggers in the config.xml and if so how do I create this hierarchy within the config.xml (i.e. syntax for detailing logger x is a parent of logger Y). If loggers are created in the con