gnodet commented on issue #1202:
URL: https://github.com/apache/maven-mvnd/issues/1202#issuecomment-2494035779
Same as in Maven, the log levels can be configured from CLI using
`-Dorg.slf4j.simpleLogger.log.[logger]=[level]`, as in:
```
➜ apps ./maven-mvnd-2.0.0-beta-2-SNAPSHOT-darwin-aarch64/bin/mvnd
-Dorg.slf4j.simpleLogger.log.org.mvndaemon.mvnd.client=debug foo
[main] DEBUG org.mvndaemon.mvnd.client.DefaultClient - Starting client
Looking up daemon... time: 00:00
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Idle daemon
832c334e does not match the desired criteria: Java home is different.
Wanted: javaHome=/Users/gnodet/.sdkman/candidates/java/17.0.12-tem,
options=[mvnd.home=/Users/gnodet/work/apps/maven-mvnd-2.0.0-beta-2-SNAPSHOT-darwin-aarch64,
jdk.java.options=--add-opens java.base/java.io=ALL-UNNAMED --add-opens
java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens
java.base/sun.nio.fs=ALL-UNNAMED, mvnd.noDaemon=false, mvnd.debug=false,
mvnd.debug.address=8000, mvnd.idleTimeout=3h, mvnd.keepAlive=100ms,
mvnd.extClasspath=, mvnd.coreExtensions=, mvnd.enableAssertions=false,
mvnd.expirationCheckDelay=10s, mvnd.duplicateDaemonGracePeriod=10s,
mvnd.socketFamily=inet]
Actual: javaHome=/Users/gnodet/.sdkman/candidates/java/21.0.4-tem,
options=[mvnd.home=/Users/gnodet/work/apps/maven-mvnd-2.0.0-beta-2-SNAPSHOT-darwin-aarch64,
jdk.java.options=--add-opens java.base/java.io=ALL-UNNAMED --add-opens
java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-opens
java.base/sun.nio.fs=ALL-UNNAMED, mvnd.noDaemon=false, mvnd.debug=false,
mvnd.debug.address=8000, mvnd.idleTimeout=3h, mvnd.keepAlive=100ms,
mvnd.extClasspath=, mvnd.coreExtensions=, mvnd.enableAssertions=false,
mvnd.expirationCheckDelay=10s, mvnd.duplicateDaemonGracePeriod=10s,
mvnd.socketFamily=inet],
mavenHome=/Users/gnodet/work/apps/maven-mvnd-2.0.0-beta-2-SNAPSHOT-darwin-aarch64,
pid=76259, address=inet:/127.0.0.1:58572, locale=en-FR, state=Idle,
lastIdle=1732289428924, lastBusy=1732289428821id=832c334e
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Found 2 idle
daemons, 1 compatibles
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Connecting to Daemon
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Trying to connect
to address /127.0.0.1:58987.
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Connected to
address /127.0.0.1:58987.
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Exchanged token
successfully
[main] DEBUG org.mvndaemon.mvnd.client.DaemonConnector - Connected
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]