From 0cafaca7a563354b0b098a9ad75be4bc9d8fb1b8 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 26 Feb 2014 11:45:45 -0500 Subject: [PATCH] Fix: Warn user if JUL port is already being used Fixes #740 Signed-off-by: David Goulet --- src/bin/lttng-sessiond/jul-thread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/lttng-sessiond/jul-thread.c b/src/bin/lttng-sessiond/jul-thread.c index c1df1d862..b4a71d798 100644 --- a/src/bin/lttng-sessiond/jul-thread.c +++ b/src/bin/lttng-sessiond/jul-thread.c @@ -141,6 +141,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."); goto error; } -- 2.34.1