Re: XMLLayout

2005-10-20 Thread Rob Gregory
You can't see the output in I.E. as the output from the Log4j XMLLayout is not valid xml - Log4j omits the XML declaration and the default root node (including namespace declaration) if you check the source this is to allow the layout to be used with other appenders etc, but either way you will

RE: Log4j not working

2005-10-20 Thread Tom Drake
Try WEB-INF/classes, or place it inside a .jar file in WEB-INF/lib -Original Message- From: Damodar R Yemme [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 1:15 PM To: Log4J Users List Subject: Re: Log4j not working I have placed it it in the same directory tomcat\webapps\ax

Re: Log4j not working

2005-10-20 Thread Damodar R Yemme
I have placed it it in the same directory tomcat\webapps\axis\WEB-INF\lib James Stauffer wrote: Where is your log4j.properties? It should probably be in tomcat\webapps\axis\WEB-INF\lib On 10/20/05, Damodar R Yemme <[EMAIL PROTECTED]> wrote: I have put it in tomcat\webapps\axis\WEB-INF\l

Re: Log4j not working

2005-10-20 Thread James Stauffer
Where is your log4j.properties? It should probably be in tomcat\webapps\axis\WEB-INF\lib On 10/20/05, Damodar R Yemme <[EMAIL PROTECTED]> wrote: > I have put it in tomcat\webapps\axis\WEB-INF\lib folder on server side > and under \lib\ on client side for ant commands. > I am getting error/warning

Re: Log4j not working

2005-10-20 Thread Damodar R Yemme
I have put it in tomcat\webapps\axis\WEB-INF\lib folder on server side and under \lib\ on client side for ant commands. I am getting error/warning on both sides. James Stauffer wrote: Which lib folder? It might helpful to give the full path to log4j.jar and log4j.properties. BTW the debug ou

Re: Log4j not working

2005-10-20 Thread James Stauffer
Which lib folder? It might helpful to give the full path to log4j.jar and log4j.properties. BTW the debug output seems to show that it isn't finding another log4j.properties or log4j.xml so I don't think you need to worry about that. On 10/20/05, dyemme <[EMAIL PROTECTED]> wrote: > I have placed

Re: Log4j not working

2005-10-20 Thread dyemme
I have placed it in lib folder On Thu, 2005-10-20 at 13:53 -0500, James Stauffer wrote: > Where is your log4j.jar? > > On 10/20/05, Rakesh Patel <[EMAIL PROTECTED]> wrote: > > Added debug to the App server and here's what it found: > > > > log4j: Trying to find [log4j.xml] using > > ClassLoader.g

Re: Log4j not working

2005-10-20 Thread James Stauffer
Where is your log4j.jar? On 10/20/05, Rakesh Patel <[EMAIL PROTECTED]> wrote: > Added debug to the App server and here's what it found: > > log4j: Trying to find [log4j.xml] using > ClassLoader.getSystemResource().|#] > > [#|2005-10-20T18:02:59.937+0100|INFO|sun-appserver-pe8.1_01|javax.enterp > r

RE: Log4j not working

2005-10-20 Thread Rakesh Patel
Added debug to the App server and here's what it found: [#|2005-10-20T18:02:59.734+0100|INFO|sun-appserver-pe8.1_01|javax.enterp rise.system.stream.out|_ThreadID=12;|log4j: Trying to find [log4j.xml] using context classloader WebappCla delegate: true repositories: /WEB-INF/classes/ ---

Re: Log4j not working

2005-10-20 Thread Jacob Kjome
At 01:40 PM 10/20/2005 +0100, you wrote: >Hi all, > >Have decided to go back to first principles after a rather painful 1.3 >phase. > If you are new to Log4j, I wouldn't recommend going with alpha stuff. That said, the next alpha of 1.3 should be much easier to use because it is far more comp

Re: Log4j not working

2005-10-20 Thread James Stauffer
Add -Dlog4j.debug to the command line. That should help a lot. My first guess is that either the log4j.jar and/or the log4j.properties isn't in the correct location. I assume you are using automatic configuration. On 10/20/05, Rakesh Patel <[EMAIL PROTECTED]> wrote: > Hi all, > > Have decided t

Log4j not working

2005-10-20 Thread Rakesh Patel
Hi all, Have decided to go back to first principles after a rather painful 1.3 phase. First step is to replace 1.3 with 1.2.9. Done. Second, create a new property file - copied one from the manual (and moved to classpath): log4j.rootLogger=debug, stdout, R log4j.appender.stdout=org.apache.log4j