[opennms-devel] Disabling 'debug' logging statements
Sachin Naik <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Message-ID | <480CF984.2030202__34725.1071165831$1208809925$gmane$org@geminimobile.com> |
Hello, First off, I'm not an expert in log4j... I'm trying to cut down the debug logs in tomcat with OpenNMS. I tried enabling log4j under Tomcat, and set up the log4j.properties (under <tomcat home>/common/classes) to set the 'rootLogger' to 'INFO'. It doesn't seem to have much or any effect. I get a whole lot of debug logs when OpenNMS first starts up. I also tried editing the log4j.properties under the OpenNMS (WEB-INF/log4j.properties), and it doesn't seem to have any effect. Below are some examples from my catalina.out. Thanks, Sachin ======== 2008-04-21 10:15:06,098 DEBUG [main] org.apache.catalina.startup.TldConfig: Scanning TLDs in /WEB-INF subdirectory 2008-04-21 10:15:06,100 DEBUG [main] org.apache.catalina.startup.TldConfig: Scanning TLDs in /WEB-INF/applicationContext-acegi-security.xml subdirectory 2008-04-21 10:15:06,100 DEBUG [main] org.apache.catalina.startup.TldConfig: Scanning TLDs in /WEB-INF/applicationContext-common.xml subdirectory 2 .... 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,459 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,460 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,460 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ) 2008-04-21 10:15:06,460 DEBUG [main] org.apache.commons.digester.Digester.sax: characters( ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel