From 695c54638500c92949cd22e8c62827c02b726c79 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Wed, 5 Jun 2019 15:09:26 +0300 Subject: [PATCH] server fix log.Log -> log.Logf Signed-off-by: Vasiliy Tolstov --- server/rpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rpc_server.go b/server/rpc_server.go index bd95a312..8fe3a812 100644 --- a/server/rpc_server.go +++ b/server/rpc_server.go @@ -486,7 +486,7 @@ func (s *rpcServer) Start() error { } else { // announce self to the world if err = s.Register(); err != nil { - log.Log("Server %s-%s register error: %s", config.Name, config.Id, err) + log.Logf("Server %s-%s register error: %s", config.Name, config.Id, err) } }