[Yanel-commits] rev 59344 - public/yanel/trunk/conf
michi at wyona.com
michi at wyona.com
Tue Jul 12 23:02:51 CEST 2011
Author: michi
Date: 2011-07-12 23:02:51 +0200 (Tue, 12 Jul 2011)
New Revision: 59344
Modified:
public/yanel/trunk/conf/log4j.properties
Log:
new jms appender added writing messages into activeMQ
Modified: public/yanel/trunk/conf/log4j.properties
===================================================================
--- public/yanel/trunk/conf/log4j.properties 2011-07-12 21:02:10 UTC (rev 59343)
+++ public/yanel/trunk/conf/log4j.properties 2011-07-12 21:02:51 UTC (rev 59344)
@@ -5,8 +5,9 @@
#
# 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 20110712: ActiveMQ appender added (but has no impact on version attribute)
# Change 20110627: timezone added
-# Change 20100414: catalina.base variable added (but has not impact on version attribute)
+# 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
@@ -55,13 +56,21 @@
log4j.appender.A2.MaxBackupIndex=7
# Access log to ActiveMQ (Java Messaging System)
-log4j.appender.jms=org.apache.log4j.net.JMSAppender
-log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory
-log4j.appender.jms.ProviderURL=tcp://localhost:61616
-log4j.appender.jms.TopicBindingName=logTopic
-log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory
+# (The following class is retrieved via src/build/dependencies.xml, whereas see artifactId 'Log4JAppender')
+log4j.appender.jms=com.wyona.yanelboost.log4jappender.ActiveMQAppender
+log4j.appender.jms.channel=rawEvents
+log4j.appender.jms.password=
+log4j.appender.jms.username=
+log4j.appender.jms.url=tcp://localhost:61616
+# DEPRECATED (because one had to restart the Log4jConverter bundle inside Felix manually)
+#log4j.appender.jms=org.apache.log4j.net.JMSAppender
+#log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory
+#log4j.appender.jms.ProviderURL=tcp://localhost:61616
+#log4j.appender.jms.TopicBindingName=logTopic
+#log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory
+
# 404 log4j
log4j.appender.A3=org.apache.log4j.RollingFileAppender
log4j.appender.A3.File=@LOG4J_DIR@/404-cnode at CNODE_ID@.log
@@ -74,6 +83,7 @@
# Exceptions to the above rules
log4j.category.org.wyona.yarep.core.Repository=INFO
+log4j.category.com.wyona.yanelboost.log4jappender.ActiveMQAppender=DEBUG
# Makes Jelly errors visible, but do not use in production, because it also generates a lot of debug messages
#log4j.category.org.apache.commons.jelly.impl.TagScript=TRACE
# Hides the potentially numerous 'jelly' view-type deprecation warnings:
More information about the Yanel-commits
mailing list