From 0efb2abd6c98388860ca0655fcc27ef8e4fc8ead Mon Sep 17 00:00:00 2001 From: saxon Date: Thu, 20 Sep 2018 11:15:27 +0930 Subject: [PATCH] revid: added pkg to logging messages in senders.go --- revid/senders.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/senders.go b/revid/senders.go index 8b94d6ea..38f7856a 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -234,7 +234,7 @@ func newRtmpSender(url string, timeout uint, retries int, log func(lvl int8, msg log(smartlogger.Error, err.Error()) sess.Close() if n < retries-1 { - log(smartlogger.Info, "retry rtmp connection") + log(smartlogger.Info, pkg+"retry rtmp connection") } } if err != nil { @@ -280,7 +280,7 @@ func (s *rtmpSender) restart() error { s.log(smartlogger.Error, err.Error()) s.sess.Close() if n < s.retries-1 { - s.log(smartlogger.Info, "retry rtmp connection") + s.log(smartlogger.Info, pkg+"retry rtmp connection") } } return err