File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes logging tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

logging tomcat

sunny chopra

Joined: Feb 26, 2005
Posts: 2

How an i enable the logging in Tomcat 4. I checked the documentation and according to The Logger Component, I changed the debug level from 0 to 1 and tried with higher number, but this did not create any catalina.out. I want to redirect the output of Tomcat to either catalina.out or some file.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

"sunny xyz",
unfortunately your display name is not valid.

We're light on rules at the JavaRanch, but we take our display names quite seriously. You can read it all here.

We require display names to be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and select a valid display name. Accounts with invalid display names get deleted, often without warning.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You've posted a duplicate in the Apache/Tomcat forum so I'm closing this copy to prevent duplicate conversations.

I agree. Here's the link:
subject: logging tomcat
It's not a secret anymore!