From d1227b5fc9de9f7a04fbf71292dd224aa8806411 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 21 Feb 2018 00:20:25 +0100 Subject: Use prefixed-formatter for better logging --- bridge/sshchat/sshchat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/sshchat') diff --git a/bridge/sshchat/sshchat.go b/bridge/sshchat/sshchat.go index 4b91df01..cce4da59 100644 --- a/bridge/sshchat/sshchat.go +++ b/bridge/sshchat/sshchat.go @@ -20,7 +20,7 @@ var flog *log.Entry var protocol = "sshchat" func init() { - flog = log.WithFields(log.Fields{"module": protocol}) + flog = log.WithFields(log.Fields{"prefix": protocol}) } func New(cfg *config.BridgeConfig) *Bsshchat { -- cgit v1.2.3