-
Bug
-
Resolution: Done
-
Major
-
5.1.0.CR4
Although the startServer.sh script provides a way to specify custom system properties, via the JVM_PARAMS environment variable, it is not possible to specify a different log4j configuration file through the log4j.configuration system property because it will be overridden in functions.sh (see script snippet below, starting at line 154 of functions.sh). I think the portion of functions.sh that sets the location of the log4j configuration file should only execute if the user hasn't provided their own location.
- Log4J config path needs path conversion in Cygwin
if $CYGWIN; then
LOG4J_CONFIG=`cygpath -w "${ISPN_HOME}/etc/log4j.xml"`
else
LOG4J_CONFIG=${ISPN_HOME}/etc/log4j.xml
fi
START_ARGS=( "${START_ARGS[@]}" "-Dlog4j.configuration=file:///$LOG4J_CONFIG" )