From 74c0f648f24e9ad2e00b51e1c5b087c3a33e4ecb Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Mon, 22 Nov 2021 13:44:58 +0100 Subject: [PATCH] fix: Use log.Info rather than fmt.Println --- waku/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/node.go b/waku/node.go index 43963883..2941cedc 100644 --- a/waku/node.go +++ b/waku/node.go @@ -280,7 +280,7 @@ func Execute(options Options) { ch := make(chan os.Signal, 1) signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM) <-ch - fmt.Println("\n\n\nReceived signal, shutting down...") + log.Info("Received signal, shutting down...") // shut the node down wakuNode.Stop()