From: Florian Forster Date: Fri, 13 Nov 2009 13:29:40 +0000 (+0100) Subject: erlang plugin: Log details about accepted connections. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=02a9b7849a70dd99711dc81402277761d5bbf864;p=collectd.git erlang plugin: Log details about accepted connections. --- diff --git a/src/erlang.c b/src/erlang.c index 5b846755..c2d243fa 100644 --- a/src/erlang.c +++ b/src/erlang.c @@ -720,6 +720,13 @@ static int create_listen_socket (void) /* {{{ */ } } + if (sock_descr >= 0) + { + INFO ("erlang plugin: Created Erlang socket: Nodename %s, Port %i, " + "Cookie %s.", + conf_fullname, numeric_serv, conf_cookie); + } + return (sock_descr); } /* }}} int create_listen_socket */