Update loggers

This commit is contained in:
Alexey Khit
2022-09-06 07:08:35 +03:00
parent e4f565f343
commit 5460e194e8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ func Init() {
app.LoadConfig(&conf)
log = app.GetLogger("api")
log = app.GetLogger("hass")
// support https://www.home-assistant.io/integrations/rtsp_to_webrtc/
api.HandleFunc("/static", func(w http.ResponseWriter, r *http.Request) {
@@ -78,7 +78,7 @@ func Init() {
continue
}
log.Info().Str("src", "hass:" + entrie.Title).Msg("[hass] new stream")
log.Info().Str("url", "hass:" + entrie.Title).Msg("[hass] load stream")
//streams.Get("hass:" + entrie.Title)
}
}
+1 -1
View File
@@ -69,7 +69,7 @@ func offerHandler(ctx *api.Context, msg *streamer.Message) {
return
}
log.Debug().Str("src", src).Msg("[webrtc] new consumer")
log.Debug().Str("url", src).Msg("[webrtc] new consumer")
var err error