mirror of https://bitbucket.org/ausocean/av.git
revid: added pkg to logging messages in senders.go
This commit is contained in:
parent
35f12e9460
commit
0efb2abd6c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue