You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jacek-lewandowski (via GitHub)" <gi...@apache.org> on 2024/11/19 14:49:23 UTC
[I] How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)? [maven-mvnd]
jacek-lewandowski opened a new issue, #1202:
URL: https://github.com/apache/maven-mvnd/issues/1202
(no comment)
--
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: issues-unsubscribe@maven.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)? [maven-mvnd]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)? [maven-mvnd]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on issue #1202:
URL: https://github.com/apache/maven-mvnd/issues/1202#issuecomment-2485943449
Among other things, discriminating options:
https://github.com/apache/maven-mvnd/blob/master/common/src/main/java/org/mvndaemon/mvnd/common/Environment.java#L616
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)? [maven-mvnd]
Posted by "jacek-lewandowski (via GitHub)" <gi...@apache.org>.
jacek-lewandowski commented on issue #1202:
URL: https://github.com/apache/maven-mvnd/issues/1202#issuecomment-2485983299
There is a log debug for printing the information why a new daemon is created - how to enable debug logging from mvnd classes?
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)? [maven-mvnd]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed issue #1202: How to make mvnd show the reason why it is not reused (what is the specification diff which is causing that)?
URL: https://github.com/apache/maven-mvnd/issues/1202
--
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: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org