X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fjul-thread.c;h=cc694df81066718a82ded69fc2baf36b683b726b;hp=9c924ea40ebfe5c4f721ff099b0b327b149500aa;hb=5368d366c6c7f80ad941172a6bc9c6a5174cbdf0;hpb=1b500e7ab6676535ce092106bf4f97929fc2dd54 diff --git a/src/bin/lttng-sessiond/jul-thread.c b/src/bin/lttng-sessiond/jul-thread.c index 9c924ea40..cc694df81 100644 --- a/src/bin/lttng-sessiond/jul-thread.c +++ b/src/bin/lttng-sessiond/jul-thread.c @@ -34,7 +34,8 @@ * can let the user define a custom one. However, localhost is ALWAYS the * default listening address. */ -static const char *default_reg_uri = "tcp://localhost"; +static const char *default_reg_uri = + "tcp://" DEFAULT_NETWORK_VIEWER_BIND_ADDRESS; /* * Update JUL application using the given socket. This is done just after @@ -141,8 +142,8 @@ static struct lttcomm_sock *init_tcp_socket(void) ret = sock->ops->bind(sock); if (ret < 0) { - WARN("An other session daemon is using this JUL port. JUL support " - "will be deactivated not interfering with the tracing."); + WARN("Another session daemon is using this JUL port. JUL support " + "will be deactivated to prevent interfering with the tracing."); goto error; }