Skip to content

Commit d5d162e

Browse files
yrodieregsmet
authored andcommitted
Recommend quarkus.jib.jvm-additional-arguments rather than quarkus.jib.jvm-arguments in docs
I think that setting quarkus.jib.jvm-arguments would lead to the default (-Djava.util.logging.manager=org.jboss.logmanager.LogManager) being replaced, which would mess with logging, so that's probably not something we want. (cherry picked from commit dacae71)
1 parent 837f0e2 commit d5d162e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/main/asciidoc/container-image.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ For example, the presence of `src/main/jib/foo/bar` would result in `/foo/bar`
4747

4848
There are cases where the built container image may need to have Java debugging conditionally enabled at runtime.
4949

50-
When the base image has not been changed (and therefore `ubi8/openjdk-11-runtime`, `ubi8/openjdk-17-runtime`, or `ubi8/openjdk-21-runtime` is used), then the `quarkus.jib.jvm-arguments` configuration property can be used in order to
50+
When the base image has not been changed (and therefore `ubi8/openjdk-11-runtime`, `ubi8/openjdk-17-runtime`, or `ubi8/openjdk-21-runtime` is used), then the `quarkus.jib.jvm-additional-arguments` configuration property can be used in order to
5151
make the JVM listen on the debug port at startup.
5252

5353
The exact configuration is:
5454

5555
[source,properties]
5656
----
57-
quarkus.jib.jvm-arguments=-agentlib:jdwp=transport=dt_socket\\,server=y\\,suspend=n\\,address=*:5005
57+
quarkus.jib.jvm-additional-arguments=-agentlib:jdwp=transport=dt_socket\\,server=y\\,suspend=n\\,address=*:5005
5858
----
5959

6060
Other base images might provide launch scripts that enable debugging when an environment variable is set, in which case you would set than environment variable when launching the container.

0 commit comments

Comments
 (0)