Logging cleanup (#843)
* Logging cleanup Changes log levels to better match significance * fix lock
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user