Hi! I'm switched to Tomcat 5.5 from Tomcat 4 and now I cant understand, how to enable logging.
I want the following thins to be logged: 1) Invalid URLs 2) my exceptions, 3) test printouts and etc. How to do it? I have tried to place logger directive within host tag within server.xml file. I have tried to place logging.properties file within WEB-INF folder. But nothing helped. For example, now I have two applications (test02 and test04) with the following logging.properties file <<< handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ org.apache.juli.FileHandler.level = FINE org.apache.juli.FileHandler.directory = ${catalina.base}/logs org.apache.juli.FileHandler.prefix = test02. #test04 here for other application java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter >>> In the case of first application a have working servlets, but no data in log file (it created but remains empty). In the case of second application a have empty response from server (no servlet reaction) and a log file filled with general messages (no errors). How to correct this problem? Thanks. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]