Adopt pion logging initialization moving to protocol (#1667)

This commit is contained in:
Benjamin Pracht
2023-04-28 10:51:41 -07:00
committed by GitHub
parent 1148d38978
commit a08cd23b6d
11 changed files with 25 additions and 201 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ import (
"github.com/twitchtv/twirp"
"github.com/livekit/livekit-server/pkg/config"
serverlogger "github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/service"
"github.com/livekit/livekit-server/pkg/telemetry/prometheus"
@@ -42,7 +41,7 @@ const (
var roomClient livekit.RoomService
func init() {
serverlogger.InitFromConfig(config.LoggingConfig{
config.InitLoggerFromConfig(config.LoggingConfig{
Config: logger.Config{Level: "debug"},
})