From baaf556c548b5d648dc232237a2a2a3242f6c128 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 6 Jul 2020 22:04:37 -0700 Subject: [PATCH] Log level change --- core/rtmp/rtmp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go index f189909b1..e85c1cf25 100644 --- a/core/rtmp/rtmp.go +++ b/core/rtmp/rtmp.go @@ -59,7 +59,7 @@ func handlePublish(conn *rtmp.Conn) { return } - log.Println("Incoming RTMP connected.") + log.Infoln("Incoming RTMP connected.") pipePath := utils.GetTemporaryPipePath() syscall.Mkfifo(pipePath, 0666) @@ -121,7 +121,7 @@ func connCheck(conn net.Conn) error { } func handleDisconnect(conn *rtmp.Conn) { - log.Println("RTMP disconnected.") + log.Infoln("RTMP disconnected.") conn.Close() _isConnected = false core.SetStreamAsDisconnected()