> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: Logging for Dummies in Tomcat 5.5/6.0 > > What really puzzled me however, was that going down the hierarchy of > configuration files and directories, I never seemed to find a link > between Tomcat and the logging it was doing.
You need to realize that Tomcat logging is not a self-contained system; it utilizes the commons-logging APIs to keep things simple, and, by default, JULI under that. As stated in the doc, JULI is an extension of the standard java.util.logging, so you really need to reference that documentation first: http://java.sun.com/javase/6/docs/technotes/guides/logging/overview.html http://java.sun.com/javase/6/docs/api/java/util/logging/LogManager.html Open source developers may be even more loathe to write documentation than ones that get paid for it, so it's extremely unlikely anyone is going to spend time paraphrasing some other party's doc just for inclusion in Tomcat's files. > What I am, ever so slowly, starting to think I understand > (I hope), is that Tomcat /may/ not itself know Not only doesn't know, but doesn't care - that's up to the logging package that the Tomcat administrator chooses to use. > your refusal to tell me may not after all have been motivated by > a desire to keep the knowledge into your inner circle of initiates; There's no "inner circle of initiates"; rather, there are a fair number of people who have taken the time to read the docs, look at the code (it is open source, after all), and experiment. > Now, for example, if I were to delete all the references, in the > logging.properties above, to "1catalina.org.apache.juli.FileHandler", > would that then simply get rid of all the daily logfiles of the form > /var/log/tomcat5.5/catalina.yyyy-mm-dd.log > , or would it bring down my whole Tomcat server ? Why don't you try it, and see? (I don't know the answer.) > Of course I may be totally wrong with my guesses above, and become > totally desperate as Chuck next shoots me down. The only thing to shoot you down over is perhaps a bit of excess verbosity :-) Seriously, try some of the things you're asking about and see what happens - not in production, of course. > what role the java.util.logging.ConsoleHandler gimmick > plays in all this It's not a gimmick, it's just another logging handler that writes selected stuff to stdout. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]