diff --git a/README.md b/README.md index f0a6ba65..1f65759a 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ See https://ebourg.github.io/jsign for more information. * The JCA provider now works with [apksigner](https://developer.android.com/tools/apksigner) for signing Android applications * The APPX/MSIX bundles are now signed with the correct Authenticode UUID * The error message displayed when the password of a PKCS#12 keystore is missing has been fixed +* The log4j configuration warning displayed when signing a MSI file has been fixed (contributed by Pascal Davoust) #### Version 6.0 (2024-01-17) 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