Created
September 23, 2011 17:49
-
-
Save kogent/1237997 to your computer and use it in GitHub Desktop.
make gw quieter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<!-- | |
===================================================================== | |
--> | |
<!-- | |
--> | |
<!-- | |
Log4j Configuration | |
--> | |
<!-- | |
--> | |
<!-- | |
===================================================================== | |
--> | |
<!-- $Id$ --> | |
<!-- | |
| For more configuration infromation and examples see the | |
Jakarta Log4j | website: http://jakarta.apache.org/log4j | |
--> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" | |
debug="false"> | |
<!-- Groundwork Framework/J2EE Container --> | |
<appender name="FILE" | |
class="org.jboss.logging.appender.RollingFileAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="File" value="logs/framework.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<!-- The default pattern: Date Priority [Category] Message\n --> | |
<param name="ConversionPattern" value="%d %-5p [%c] %m%n" /> | |
</layout> | |
</appender> | |
<!-- Console (stdout) --> | |
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="Target" value="System.out" /> | |
<param name="Threshold" value="INFO" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<!-- The default pattern: Date Priority [Category] Message\n --> | |
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n" /> | |
</layout> | |
</appender> | |
<!-- Collage log --> | |
<appender name="CollageAppender" | |
class="org.jboss.logging.appender.RollingFileAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="File" value="logs/collage.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%-5p] %c - %m%n" /> | |
</layout> | |
</appender> | |
<!-- Foundation Webapp log --> | |
<appender name="FoundationAppender" | |
class="org.jboss.logging.appender.RollingFileAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="File" value="logs/foundation-webapp.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%-5p] %c - %m%n" /> | |
</layout> | |
</appender> | |
<!-- Report log --> | |
<appender name="ReportAppender" class="org.apache.log4j.RollingFileAppender"> | |
<param name="File" value="logs/report.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%-5p] %c - %m%n" /> | |
</layout> | |
</appender> | |
<!-- Event Console log --> | |
<appender name="EventConsoleAppender" | |
class="org.jboss.logging.appender.RollingFileAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="File" value="logs/console.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%-5p] %c - %m%n" /> | |
</layout> | |
</appender> | |
<!-- Status Viewer log --> | |
<appender name="StatusViewerAppender" | |
class="org.jboss.logging.appender.RollingFileAppender"> | |
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" /> | |
<param name="File" value="logs/statusviewer.log" /> | |
<param name="Append" value="true" /> | |
<param name="MaxFileSize" value="5000KB" /> | |
<param name="MaxBackupIndex" value="5" /> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%-5p] %c - %m%n" /> | |
</layout> | |
</appender> | |
<!-- ================ --> | |
<!-- Limit categories --> | |
<!-- ================ --> | |
<!-- Quartz scheduler --> | |
<category name="org.quartz"> | |
<priority value="WARN" /> | |
</category> | |
<!-- JBoss AS --> | |
<category name="org.jboss"> | |
<priority value="WARN" /> | |
</category> | |
<!-- Collage --> | |
<category name="com.groundwork.collage"> | |
<appender-ref ref="CollageAppender" /> | |
</category> | |
<!-- Foundation --> | |
<category name="org.itgroundwork.foundation"> | |
<appender-ref ref="FoundationAppender" /> | |
</category> | |
<!-- Reporting --> | |
<category name="org.groundwork.foundation.reportserver"> | |
<appender-ref ref="ReportAppender" /> | |
</category> | |
<!-- Event Console --> | |
<category name="com.groundworkopensource.webapp.console"> | |
<appender-ref ref="EventConsoleAppender" /> | |
</category> | |
<!-- StatusViewer --> | |
<category name="com.groundworkopensource.portal.statusviewer"> | |
<appender-ref ref="StatusViewerAppender" /> | |
</category> | |
<!-- Listener debugging --> | |
<!-- | |
<category name="com.groundwork.feeder.service.ProcessFeederData"> | |
<priority value="INFO" /> | |
</category> | |
<category name="com.groundwork.feeder.service.SocketListener"> | |
<priority value="INFO" /> | |
</category> | |
--> | |
<!-- Foundation message process debugging --> | |
<!-- | |
<category name="com.groundwork.feeder.service.FoundationMessageQueue"> | |
<priority value="INFO" /> | |
</category> | |
--> | |
<!-- Monarch messages --> | |
<category name="org.apache.catalina.core.ContainerBase" > | |
<priority value="WARN" /> | |
</category> | |
<!-- make logging quieter --> | |
<category name="org.jboss.ejb3.EJB3Deployer" > | |
<priority value="INFO" /> | |
</category> | |
<category name="org.hibernate" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="org.apache.commons.digester.Digester" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="com.groundworkopensource.portal.migration.GuavaMigrationService" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="org.springframework.jmx" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="org.groundwork.foundation.engine.PersistentService" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="org.jboss.portal.core.controller.command.mapper.DelegatingURLFactoryService" > | |
<priority value="ERROR" /> | |
</category> | |
<category name="org.groundwork.foundation.jms.impl.JMSServerImpl" > | |
<priority value="ERROR" /> | |
</category> | |
<!-- Riot category --> | |
<root> | |
<priority value="WARN" /> | |
<appender-ref ref="CONSOLE" /> | |
<appender-ref ref="ReportAppender" /> | |
<appender-ref ref="FILE" /> | |
</root> | |
</log4j:configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment