From 818ed0b2d0e0b73d2addcfd86d698a66cb991b2d Mon Sep 17 00:00:00 2001 From: aarzilli Date: Mon, 25 Jun 2018 08:46:36 +0200 Subject: [PATCH] rpccommon: restore API port message This message is used by clients to determine the port that a headless instance is using, therefore the format can not change or move to a different file handle. Fixes #1245 --- service/rpccommon/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/rpccommon/server.go b/service/rpccommon/server.go index 5c6486ab..4e84e4a3 100644 --- a/service/rpccommon/server.go +++ b/service/rpccommon/server.go @@ -78,7 +78,7 @@ func NewServer(config *service.Config) *ServerImpl { } if config.Foreground { // Print listener address - logger.Infof("API server listening at: %s", config.Listener.Addr()) + fmt.Printf("API server listening at: %s\n", config.Listener.Addr()) } return &ServerImpl{ config: config, -- GitLab