Skip to content

Commit

Permalink
fix(log): log block devices at trace level
Browse files Browse the repository at this point in the history
There was a INFO log line coming from the diskmanager worker which
logged the full details of all block devices. This was creating a lot
of noise in the debug logs. This is far too much information for an
Infof call, it would be more appropriate at the Trace level.
  • Loading branch information
barrettj12 committed Sep 18, 2024
1 parent bfee060 commit 0013733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/diskmanager/diskmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func doWork(listf ListBlockDevicesFunc, b BlockDeviceSetter, old *[]storage.Bloc
logger.Tracef("no changes to block devices detected")
return nil
}
logger.Infof("block devices changed: %#v", blockDevices)
logger.Tracef("block devices changed: %#v", blockDevices)
if err := b.SetMachineBlockDevices(blockDevices); err != nil {
return err
}
Expand Down

0 comments on commit 0013733

Please sign in to comment.