debug: add some log

This commit is contained in:
langhuihui
2023-10-30 10:11:48 +08:00
parent 8ffe3d3d55
commit 4a9dd2c921
4 changed files with 44 additions and 38 deletions

View File

@@ -325,7 +325,7 @@ func (opt *Plugin) Pull(streamPath string, url string, puller IPuller, save int)
pullConf := conf.GetPullConfig()
if save < 2 {
zurl := zap.String("url", url)
zpath := zap.String("path", streamPath)
zpath := zap.String("stream", streamPath)
opt.Info("pull", zpath, zurl)
puller.init(streamPath, url, pullConf)
opt.AssignPubConfig(puller.GetPublisher())