Logging cleanup (#843)

* Logging cleanup

Changes log levels to better match significance

* fix lock
This commit is contained in:
David Zhao
2022-07-21 00:39:49 -07:00
committed by GitHub
parent f2e1e67e58
commit 53f51c8cb0
17 changed files with 45 additions and 55 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ func (b *Buffer) Close() error {
if b.rtpStats != nil {
b.rtpStats.Stop()
b.logger.Infow("rtp stats", "stats", b.rtpStats.ToString())
b.logger.Infow("rtp stats", "direction", "upstream", "stats", b.rtpStats.ToString())
}
if b.onClose != nil {
+1 -1
View File
@@ -19,7 +19,7 @@ type DependencyDescriptorParser struct {
}
func NewDependencyDescriptorParser(ddExt uint8, logger logger.Logger, onMaxLayerChanged func(int32, int32)) *DependencyDescriptorParser {
logger.Infow("creating dependency descriptor parse", "ddExt", ddExt)
logger.Infow("creating dependency descriptor parser", "ddExt", ddExt)
return &DependencyDescriptorParser{
ddExt: ddExt,
logger: logger,