diff --git a/jsign/src/choco/tools/jsign.cmd b/jsign/src/choco/tools/jsign.cmd index 61bdd99e..68d1c290 100644 --- a/jsign/src/choco/tools/jsign.cmd +++ b/jsign/src/choco/tools/jsign.cmd @@ -3,5 +3,4 @@ java %JSIGN_OPTS% ^ -Djava.net.useSystemProxies=true ^ -Dbasename=jsign ^ - -Dlog4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory ^ -jar %~dp0\jsign.jar %* diff --git a/jsign/src/deb/data/usr/share/jsign/jsign.sh b/jsign/src/deb/data/usr/share/jsign/jsign.sh index 7ae12013..bd692b12 100644 --- a/jsign/src/deb/data/usr/share/jsign/jsign.sh +++ b/jsign/src/deb/data/usr/share/jsign/jsign.sh @@ -3,5 +3,4 @@ java $JSIGN_OPTS \ -Djava.net.useSystemProxies=true \ -Dbasename=`basename "$0"` \ - -Dlog4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory \ -jar /usr/share/jsign/jsign-@VERSION@.jar "$@" diff --git a/jsign/src/main/resources/log4j2.component.properties b/jsign/src/main/resources/log4j2.component.properties new file mode 100644 index 00000000..b5a29ed5 --- /dev/null +++ b/jsign/src/main/resources/log4j2.component.properties @@ -0,0 +1 @@ +log4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory \ No newline at end of file