Re: Logging Problem on Upgrade to Tomcat 6

2007-08-23 Thread Filip Hanik - Dev Lists
Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 21:19 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: There wasn't any trace at all - I added my own logging to tell me that one server had sent the message, but on the other server there was

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-23 Thread Filip Hanik - Dev Lists
do you have an alternative place you would like it sent? Regards Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 21:19 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: There wasn

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-23 Thread Ashley Hollands
-Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 21:19 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: > There wasn't any trace at all - I added my own logging to tell me that > one s

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
[EMAIL PROTECTED] > Sent: 22 August 2007 20:39 > To: Tomcat Users List > Subject: Re: Logging Problem on Upgrade to Tomcat 6 > > Ashley Hollands wrote: > >> OK - I'll run through the steps from scratch again and see if I have >> more joy this time. >>

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 20:21 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: What is confusing me is that I never had to catch the exception and log it from within my application in Tomcat 4, 5 or 5.5 - it jus

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
ist Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: > OK - I'll run through the steps from scratch again and see if I have > more joy this time. > let me know how it goes, I can help out more. > By the way, I have been using Tribes in my application an

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
20:21 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: What is confusing me is that I never had to catch the exception and log it from within my application in Tomcat 4, 5 or 5.5 - it just appeared in the web app log automatically. Is there

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
Sent: 22 August 2007 20:21 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: > What is confusing me is that I never had to catch the exception and > log it from within my application in Tomcat 4, 5 or 5.5 - it just > appeared in the web ap

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
t: Re: Logging Problem on Upgrade to Tomcat 6 it will only log to the webapp.log if your application catches the exception, then issues a log.error("msg",exception) (tomcat will do the same assuming it was correctly configured) if you provide a sample war, I can validate it for you Filip

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
-Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 19:51 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 it will only log to the webapp.log if your application catches the exception, then issues a log.error("msg"

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
the web app log. Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 19:12 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: Thanks for the reply Filip if you want a global log4j

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
web app to the web app log. Ashley -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 19:12 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 Ashley Hollands wrote: > Thanks for the reply Filip > > >&

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
ge- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 18:03 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 if you want a global log4j (instead of tomcat's own framework) http://tomcat.apache.org/tomcat-6.0-doc/logging.html then you w

RE: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
OTECTED] Sent: 22 August 2007 18:03 To: Tomcat Users List Subject: Re: Logging Problem on Upgrade to Tomcat 6 if you want a global log4j (instead of tomcat's own framework) http://tomcat.apache.org/tomcat-6.0-doc/logging.html then you will need to be tomcat-juli.jar and tomcat-juli-adapters.jar a

Re: Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Filip Hanik - Dev Lists
if you want a global log4j (instead of tomcat's own framework) http://tomcat.apache.org/tomcat-6.0-doc/logging.html then you will need to be tomcat-juli.jar and tomcat-juli-adapters.jar as described in the docs, let me know if you need more clarification Filip Ashley Hollands wrote: Hi I have

Logging Problem on Upgrade to Tomcat 6

2007-08-22 Thread Ashley Hollands
Hi I have recently upgraded from Tomcat 5.5 to 6.0 and from Java 1.5 to 6. I use Log4J for all my web application logging and have discovered that after the upgrade, any exceptions thrown in the web application are not logged to my web application log, but to the top-level Tomcat log. Does anybo