mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Remove system property pointing to logging config. Instead just let
framework do its default search, which should find the config. on the classpath.
This commit is contained in:
@@ -44,5 +44,4 @@ fi
|
|||||||
# Now invoke Java
|
# Now invoke Java
|
||||||
java $JAVA_OPTS \
|
java $JAVA_OPTS \
|
||||||
-classpath $FULLPATH \
|
-classpath $FULLPATH \
|
||||||
-Dlog4j.configurationFile=$DSPACEDIR/config/log4j2.xml \
|
|
||||||
org.dspace.app.launcher.ScriptLauncher "$@"
|
org.dspace.app.launcher.ScriptLauncher "$@"
|
||||||
|
@@ -39,7 +39,7 @@ REM Otherwise, default Java to using 256MB of memory
|
|||||||
if "%JAVA_OPTS%"=="" set "JAVA_OPTS=-Xmx256m -Dfile.encoding=UTF-8"
|
if "%JAVA_OPTS%"=="" set "JAVA_OPTS=-Xmx256m -Dfile.encoding=UTF-8"
|
||||||
|
|
||||||
REM Execute Java
|
REM Execute Java
|
||||||
java %JAVA_OPTS% -classpath "%DSPACE_CLASSPATH%" -Dlog4j.configurationFile=%DSPACEDIR%/config/log4j2.xml org.dspace.app.launcher.ScriptLauncher %*
|
java %JAVA_OPTS% -classpath "%DSPACE_CLASSPATH%" org.dspace.app.launcher.ScriptLauncher %*
|
||||||
|
|
||||||
REM Clean up DSPACE_CLASSPATH variable
|
REM Clean up DSPACE_CLASSPATH variable
|
||||||
set DSPACE_CLASSPATH=
|
set DSPACE_CLASSPATH=
|
||||||
|
Reference in New Issue
Block a user