Logging seems to be a problem which keeps coming up on the list, in particular people seem to complain about missing log files. I'm no expert on logging, so I'll just say this to put my previous post in more context:
I am using a logging setup based around the standard TC/commons logging. Apparently, log4j is a better solution, and the standard Logger config elements disappear in TC 5.5; conversion to log4j is on my to do list. You might want to consider doing the same. My installation is on Win2k, using "jakarta-tomcat-5.0.27.zip", installed under "C:\jakarta-tomcat-5.0.27\", running as a service. My logs folder contains: C:\jakarta-tomcat-5.0.27\logs\catalina.2004-10-26.log C:\jakarta-tomcat-5.0.27\logs\jakarta_service_20041026.log C:\jakarta-tomcat-5.0.27\logs\stderr.log C:\jakarta-tomcat-5.0.27\logs\stdout.log At a guess from the "Tomcat 5.0" foldername, you might have installed using the ".exe" installer (?) but I don't know why this might produce different logging setup. I can post my config files if you like, but there's nothing special in them with respect to logging that I can recall. > -----Original Message----- > From: Chris Bergstresser [mailto:[EMAIL PROTECTED] > Sent: Wednesday 27 October 2004 01:56 > To: 'Tomcat Users List' > Subject: RE: Where do UnavailableExceptions get reported? > > > Steve Kirk wrote: > > At a guess, you are seeing the > > UnavailableException manifested as a 404 error in your > > browser, like this: "HTTP Status 404 - Servlet hemlock is not > > available", rather than an UnavailableException ? > > Yes, exactly. Which isn't a problem -- except I can't > find the *actual* > error anywhere. > > > PS I just ran my own test of UnavailableException along the > > same lines that you described, and found that my custom UE > > message was not shown in the browser, but WAS logged in my catalina > > log file: > > > > 2004-10-25 17:30:31 StandardWrapperValve[uethrower]: > > Servlet.service() for servlet uethrower threw exception > > javax.servlet.UnavailableException: MY UE MSG > > at myWebApp.test.UEThrower.doGet(UEThrower.java:24) ... > > 2004-10-25 17:30:31 StandardContext[/ao]Marking servlet uethrower as > > unavailable > > Uh, where is this log file? I have a "Tomcat 5.0" > directory, and under it > a "logs" directory, but it's not in any of those. And I have > not been able > to find anything that looks like a log anywhere else. > > -- Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
