erlang plugin: Log details about accepted connections.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 13 Nov 2009 13:29:40 +0000 (14:29 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 13 Nov 2009 13:29:40 +0000 (14:29 +0100)
src/erlang.c

index 5b84675..c2d243f 100644 (file)
@@ -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 */