LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-03-2010, 01:57 AM   #1
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Rep: Reputation: 16
Tomcat logging


Dear all,

Currently my tomcat generating a huge log.
I notice that tomcat log (almost) everything at catalina.log, include FINE, INFO, SEVERE.

My question is, is there any config that I can set so that I will only get SEVERE (and WARNING), and ignore (not logging) FINE, INFO?

I've been googling, but still found no answer...

any help appreciated.

regards,

yoachan
 
Old 09-03-2010, 06:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See http://wiki.apache.org/tomcat/FAQ/Logging ?
 
Old 09-05-2010, 10:34 AM   #3
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by unSpawn View Post
I think there is no easy way to success. I've read that page before, but because you lead me there again I read it three or four more time and it lead me to http://tomcat.apache.org/tomcat-6.0-doc/logging.html.

change
Code:
1catalina.org.apache.juli.FileHandler.level = FINE
to

Code:
1catalina.org.apache.juli.FileHandler.level = WARNING
and it seems to be working. not sure though.

thanks for your help

regards,

yoachan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 6.0 on Linux, after modifying tomcat-users.xml still cannot login. cuian01 Linux - Newbie 1 01-28-2010 03:45 AM
fresh tomcat 5.5 install not showing tomcat homepage laggerific Linux - Software 0 10-26-2007 03:28 PM
Tomcat Admin logging error kumar.craja Linux - Server 1 08-26-2006 06:29 AM
How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? g18397 Linux - Software 0 05-16-2006 03:16 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration