[PATCH] epmd: suppress startup message
Michael Santos
michael.santos@REDACTED
Tue Aug 3 19:26:21 CEST 2010
Running transient distributed Erlang nodes can generate a large number
of informational messages to syslog. Modify epmd to log the startup
message only when passed the debug switch.
Reported-By: Sergey Samokhin
---
erts/epmd/src/epmd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 6ddf30e..9c2ce06 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -236,7 +236,7 @@ int main(int argc, char** argv)
else
usage(g);
}
- dbg_printf(g,0,"epmd running - daemon = %d",g->is_daemon);
+ dbg_printf(g,1,"epmd running - daemon = %d",g->is_daemon);
#ifndef NO_SYSCONF
if ((g->max_conn = sysconf(_SC_OPEN_MAX)) <= 0)
--
1.5.4.3
More information about the erlang-patches
mailing list