Use common logging init functions (#633)
* Use common logging init functions * update protocol commit * fix tests
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/livekit/protocol/livekit"
|
||||
"github.com/livekit/protocol/logger"
|
||||
"github.com/livekit/protocol/webhook"
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/config"
|
||||
@@ -27,7 +28,9 @@ const (
|
||||
)
|
||||
|
||||
func init() {
|
||||
serverlogger.InitFromConfig(config.LoggingConfig{Level: "debug"})
|
||||
serverlogger.InitFromConfig(config.LoggingConfig{
|
||||
Config: logger.Config{Level: "debug"},
|
||||
})
|
||||
}
|
||||
|
||||
var iceServersForRoom = []*livekit.ICEServer{{Urls: []string{"stun:stun.l.google.com:19302"}}}
|
||||
|
||||
Reference in New Issue
Block a user