mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
The stop command fails because it cannot connect to activemq, so the rc script currently always kills activemq which might lead to lost data, database corruption, left-over lock files, etc. Run the stop command under the activemq user too like the jps command in activemq_check_pidfile() so that it can actually shutdown activemq. - While here fix log files location PR: 207881 Reported by: bwilliamson@bex.net
20 lines
857 B
INI
20 lines
857 B
INI
--- conf/log4j.properties.orig 2019-03-15 12:04:19 UTC
|
|
+++ conf/log4j.properties
|
|
@@ -44,7 +44,7 @@ log4j.appender.console.threshold=INFO
|
|
|
|
# File appender
|
|
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
|
|
-log4j.appender.logfile.file=${activemq.data}/activemq.log
|
|
+log4j.appender.logfile.file=${activemq.logs}/activemq.log
|
|
log4j.appender.logfile.maxFileSize=1024KB
|
|
log4j.appender.logfile.maxBackupIndex=5
|
|
log4j.appender.logfile.append=true
|
|
@@ -70,7 +70,7 @@ log4j.additivity.org.apache.activemq.audit=false
|
|
log4j.logger.org.apache.activemq.audit=INFO, audit
|
|
|
|
log4j.appender.audit=org.apache.log4j.RollingFileAppender
|
|
-log4j.appender.audit.file=${activemq.data}/audit.log
|
|
+log4j.appender.audit.file=${activemq.logs}/audit.log
|
|
log4j.appender.audit.maxFileSize=1024KB
|
|
log4j.appender.audit.maxBackupIndex=5
|
|
log4j.appender.audit.append=true
|