From: Ian Jackson Subject: [OSSTEST PATCH 01/11] tcl daemons: log host and port number we bind to, at startup Date: Fri, 4 Dec 2015 19:35:24 +0000 Message-ID: <1449257734-26860-2-git-send-email-ian.jackson@eu.citrix.com> References: <1449257734-26860-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a4w8w-00063O-Vy for xen-devel@lists.xenproject.org; Fri, 04 Dec 2015 19:35:47 +0000 In-Reply-To: <1449257734-26860-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org If the socket setup fails, this makes it easier to see what the program was trying to do. Signed-off-by: Ian Jackson --- 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 -- 1.7.10.4