From a419e4044623ef4eeb7a926ff64182e343db7a26 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 4 Dec 2015 19:03:16 +0000 Subject: [PATCH] tcl daemons: log host and port number we bind to, at startup If the socket setup fails, this makes it easier to see what the program was trying to do. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- tcl/daemonlib.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcl/daemonlib.tcl b/tcl/daemonlib.tcl index 972b5e2..b76ff12 100644 --- a/tcl/daemonlib.tcl +++ b/tcl/daemonlib.tcl @@ -210,7 +210,7 @@ proc main-daemon {which setup} { fconfigure stdout -buffering line fconfigure stderr -buffering none - log "starting" + log "starting $host:$port" uplevel 1 $setup -- 2.39.5