Skip to content

Commit

Permalink
Enable syntax highlighting for some code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-kraemer authored Oct 11, 2024
1 parent 2c0ebc5 commit 3fa66ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vertx-infinispan/src/main/asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,15 @@ element of the configuration. For example:

Alternatively, if you want to stick with the bundled `jgroups.xml` file, you can set the `jgroups.bind.address` system property:

[source,shell]
----
-Djgroups.bind.address=192.168.1.20
----

When running Vert.x is in clustered mode, you should also make sure that Vert.x knows about the correct interface.
When running at the command line this is done by specifying the `cluster-host` option:

[source,shell]
----
vertx run myverticle.js -cluster -cluster-host your-ip-address
----
Expand Down Expand Up @@ -311,6 +313,7 @@ For more information on available JGroups discovery protocols and how to configu

If you have troubles configuring an IPv6 host, force the use of IPv4 with the `java.net.preferIPv4Stack` system property.

[source,shell]
----
-Djava.net.preferIPv4Stack=true
----
Expand All @@ -322,13 +325,15 @@ to see if it's forming a cluster properly. You can do this (when using the defau
called `vertx-default-jul-logging.properties` on your classpath. This is a standard java.util.logging (JUL)
configuration file. Inside it set:

[source,properties]
----
org.infinispan.level=INFO
org.jgroups.level=INFO
----

and also

[source,properties]
----
java.util.logging.ConsoleHandler.level=INFO
java.util.logging.FileHandler.level=INFO
Expand All @@ -343,6 +348,7 @@ Add the logging JARs of you choice to the classpath and JBoss Logging will pick
If you have multiple logging backends on your classpath, you can force selection with the `org.jboss.logging.provider` system property.
For exeample:

[source,shell]
----
-Dorg.jboss.logging.provider=log4j2
----
Expand Down

0 comments on commit 3fa66ce

Please sign in to comment.