There are two things that will impact the level of information in the logs you get: 1) The server.xml debug attribute settings, which will determine whether the catalina code will try to log a message 2) The settings on your logger, which will determine whether a message gets logged
It sounds like the catalina log messages are being filtered out by your logger. You need to check the configuration of the logger that these messages are going to, and dial its level down to debug. How to do this will depend on what logger you are using (log4j, java.util logging, etc.). Benjamin J. Armintor Systems Analyst ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -----Original Message----- From: Beloglazov Maksim [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 9:19 AM To: Tomcat Users List Subject: log verbosity in tomcat Hello, I tried to increase log verbosity in server.xml file by setting debug attribute of Engine and Realm tags to 99. Verbosity of Logger I set to 4. But still only INFO messages are displayed in the log file while Jakarta docs says that * "Debugging and exception messages logged by this |Realm| will be recorded by the |Logger| that is associated with our surrounding |Context|, |Host|, or |Engine|" * "Verbosity attribute is the verbosity level for this logger. Messages with a higher verbosity level than the specified value will be silently ignored. Available levels are 0 (fatal messages only), 1 (errors), 2 (warnings), 3 (information), and 4 (debug). If not specified, the default value will be 1 (error)". I have inspected the JAASRealm.java file and found that it uses log.debug() call for logging, but I can't see any of these messages in an actual log files! Google says nothing on this. server.xml: ... <Engine name="Catalina" defaultHost="localhost" debug="99"> <!-- <Valve className="org.apache.catalina.valves.RequestDumperValve"/> --> <!-- Global logger unless overridden at lower levels --> <Logger className="org.apache.catalina.logger.FileLogger" prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="4"/> <!-- Because this Realm is here, an instance will be shared globally --> <!-- This Realm uses the UserDatabase configured in the global JNDI resources under the key "UserDatabase". Any edits that are performed against this UserDatabase are immediately available for use by the Realm. --> <Realm className="org.apache.catalina.realm.JAASRealm" debug="99" appName="merx" userClassNames="ru.mb.security.jaas.RdbmsPrincipal roleClassNames="ru.mb.security.jaas.RdbmsRole" /> .... </Engine> ... Is there any way to increase verbosity of logging? Thanks in advance, Beloglazov Maksim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
