aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src
diff options
context:
space:
mode:
authorMichael Santos <[email protected]>2010-08-03 13:26:21 -0400
committerBjörn Gustavsson <[email protected]>2010-08-04 11:48:50 +0200
commitaf2787bc44478c055f9fdc95a3ca47095c1c7c84 (patch)
tree17ca25443d4dd46a0d93030ecacb87d01f842237 /erts/epmd/src
parent0d553b45b5c3ae8287340887f271bc70f1f1370c (diff)
downloadotp-af2787bc44478c055f9fdc95a3ca47095c1c7c84.tar.gz
otp-af2787bc44478c055f9fdc95a3ca47095c1c7c84.tar.bz2
otp-af2787bc44478c055f9fdc95a3ca47095c1c7c84.zip
epmd: suppress startup message
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
Diffstat (limited to 'erts/epmd/src')
-rw-r--r--erts/epmd/src/epmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 6ddf30efe3..9c2ce065bb 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)