Skip to content

Commit

Permalink
Fix log4j stderr message about not finding a logging implementation w…
Browse files Browse the repository at this point in the history
…hen using jsign CLI
  • Loading branch information
davoustp committed Mar 1, 2024
1 parent ef6430a commit 99c159b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion jsign/src/choco/tools/jsign.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
java %JSIGN_OPTS% ^
-Djava.net.useSystemProxies=true ^
-Dbasename=jsign ^
-Dlog4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory ^
-jar %~dp0\jsign.jar %*
1 change: 0 additions & 1 deletion jsign/src/deb/data/usr/share/jsign/jsign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-@[email protected] "$@"
1 change: 1 addition & 0 deletions jsign/src/main/resources/log4j2.component.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
log4j2.loggerContextFactory=net.jsign.log4j.simple.SimpleLoggerContextFactory

0 comments on commit 99c159b

Please sign in to comment.