-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlog4j.patch
33 lines (32 loc) · 1.54 KB
/
log4j.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -uNr apache-activemq-5.3.2/conf/log4j.properties apache-activemq-5.3.2p/conf/log4j.properties
--- apache-activemq-5.3.2/conf/log4j.properties 2010-04-27 00:23:58.000000000 +0200
+++ apache-activemq-5.3.2p/conf/log4j.properties 2010-05-16 11:12:49.000000000 +0200
@@ -19,7 +19,12 @@
# This file controls most of the logging in ActiveMQ which is mainly based around
# the commons logging API.
#
-log4j.rootLogger=INFO, console, logfile
+
+log4j.rootLogger=INFO, logfile
+# Uncomment the next line if running in foreground
+# to get logging on stdout
+#log4j.rootLogger=INFO, console, logfile
+
log4j.logger.org.apache.activemq.spring=WARN
log4j.logger.org.apache.activemq.web.handler=WARN
log4j.logger.org.springframework=WARN
diff -uNr apache-activemq-5.3.2/conf/log4j.properties apache-activemq-5.3.2p/conf/log4j.properties
--- apache-activemq-5.3.2/conf/log4j.properties 2010-04-27 00:23:58.000000000 +0200
+++ apache-activemq-5.3.2p/conf/log4j.properties 2010-05-16 10:55:39.000000000 +0200
@@ -43,9 +43,9 @@
# File appender
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
-log4j.appender.logfile.file=${activemq.base}/data/activemq.log
-log4j.appender.logfile.maxFileSize=1024KB
-log4j.appender.logfile.maxBackupIndex=5
+log4j.appender.logfile.file=${activemq.base}/log/activemq.log
+log4j.appender.logfile.maxFileSize=10240KB
+log4j.appender.logfile.maxBackupIndex=10
log4j.appender.logfile.append=true
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d | %-5p | %m | %c | %t%n