Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Abandoned
-
5.13.4
-
None
-
None
Description
The log4j.properties file in the distribution specifies these two log file locations:
log4j.appender.logfile.file=${activemq.base}/data/activemq.log log4j.appender.audit.file=${activemq.base}/data/audit.log
Meanwhile, the init script allows you to set $ACTIVEMQ_DATA separately from ACTIVEMQ_BASE.
I would suggest one of two solutions:
1) (preferred): create a new ACTIVEMQ_LOGDIR variable that can be set in the /etc/default/activemq file, and have log4j.properties use that as the log file location
2) if that's a problem for some reason, at least make things consistent, and have the log4j.properties file use the value from ACTIVEMQ_DATA directly.