microsoft / opengcs

Moved to https://github.com/microsoft/hcsshim/tree/master/internal/guest. If you wish to open PRs/submit issues please do so against https://github.com/microsoft/hcsshim.
MIT License
83 stars 41 forks source link

Continuously log /dev/kmsg #373

Closed dcantah closed 4 years ago

dcantah commented 4 years ago

Signed-off-by: Daniel Canter dcanter@microsoft.com

dcantah commented 4 years ago

This is essentially the same PR/feature add as https://github.com/microsoft/opengcs/pull/367 just with a few tweaks to be able to skip logging entries higher than a certain priority and some data regarding the number of logs per priority level.

Running a trace on the cri-containerd test suite yields per lcow test an increase of -Level 3: Around 3-4 logs -Level 4 (default): Around 9-12 logs -Level 5: Around 40-50 -Level 6: 330+ and the majority of these are system initialization entries -Level 7: 360+