From: Ian Jackson Date: Fri, 4 Dec 2015 19:03:16 +0000 (+0000) Subject: tcl daemons: log host and port number we bind to, at startup X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a419e4044623ef4eeb7a926ff64182e343db7a26;p=people%2Fliuw%2Fosstest.git 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 --- 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