X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fjul-thread.c;h=9859a1071b31adf7c408a4937cb7a53939042300;hb=e23b81ed4298c760261e27ca0735cafc0de43da3;hp=9c924ea40ebfe5c4f721ff099b0b327b149500aa;hpb=1b500e7ab6676535ce092106bf4f97929fc2dd54;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/jul-thread.c b/src/bin/lttng-sessiond/jul-thread.c index 9c924ea40..9859a1071 100644 --- a/src/bin/lttng-sessiond/jul-thread.c +++ b/src/bin/lttng-sessiond/jul-thread.c @@ -23,6 +23,8 @@ #include #include +#include + #include "fd-limit.h" #include "jul-thread.h" #include "lttng-sessiond.h" @@ -34,7 +36,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 +144,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; }