Skip to content

Commit

Permalink
jms queue appender added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Nov 8, 2011
1 parent 64e6db1 commit 223dfa4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion conf/log4j.properties
Expand Up @@ -5,13 +5,14 @@
#
# IMPORTANT: Because of the changes listed below, one might has to re-configure the local.log4j.properties file (and in particular synchronize the "version.log4j.properties" number (see below)
#
# Change 20111108: JMS queue appender added
# Change 20110712: ActiveMQ appender added (but has no impact on version attribute)
# Change 20110627: timezone added
# Change 20100414: catalina.base variable added (but has no impact on version attribute)
# Change 20091201: access log config added
# --------------------------------------------------------------------------------------------------
# Version of this file in order to compare with local.log4j.properties
version.log4j.properties=2011062700
version.log4j.properties=2011110800


log4j.category.Access=INFO, A2
Expand All @@ -25,6 +26,11 @@ log4j.category.404=INFO, A3
# Do not log 404 within rootCategory
log4j.additivity.404=false

# Log boost messages which cannot be sent to ActiveMQ because ActiveMQ might not be available (see com.wyona.yanelboost.log4jappender.ActiveMQAppender)
log4j.category.jms-queue=INFO, A4
# Do not log 'jms-queue' within rootCategory
log4j.additivity.jms-queue=false

#log4j.rootCategory=DEBUG, A1
#log4j.rootCategory=INFO, A1
log4j.rootCategory=WARN, A1
Expand Down Expand Up @@ -83,6 +89,16 @@ log4j.appender.A3.MaxFileSize=1000KB
log4j.appender.A3.MaxBackupIndex=7


# jms-queue log4j
log4j.appender.A4=org.apache.log4j.RollingFileAppender
log4j.appender.A4.File=@LOG4J_DIR@/jms-queue-cnode@CNODE_ID@.log
#log4j.appender.A4.File=${catalina.base}/logs/jms-queue-cnode@CNODE_ID@.log
log4j.appender.A4.layout=org.apache.log4j.PatternLayout
log4j.appender.A4.layout.ConversionPattern=%-4r %d{yyyy-MM-dd HH:mm:ss,SSS Z} [%t] %-5p %c %x - %m%n
log4j.appender.A4.MaxFileSize=1000KB
log4j.appender.A4.MaxBackupIndex=7


# Exceptions to the above rules
log4j.category.org.wyona.yarep.core.Repository=INFO
log4j.category.org.wyona.yanel.core.ResourceTypeRegistry=DEBUG
Expand Down

0 comments on commit 223dfa4

Please sign in to comment.