This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Help with logging Tomcat
Tomcat redirect 'stderr' content to 'stdout'
WARN level is not working
Catalina.out log file
How to redirect Tomcat's console output into a log file?