v1:Respect the shim_debug flag when load tasks#3276
v1:Respect the shim_debug flag when load tasks#3276crosbymichael merged 1 commit intocontainerd:masterfrom
shim_debug flag when load tasks#3276Conversation
a3910bb to
a30a190
Compare
Codecov Report
@@ Coverage Diff @@
## master #3276 +/- ##
======================================
Coverage 44.4% 44.4%
======================================
Files 113 113
Lines 12231 12231
======================================
Hits 5431 5431
Misses 5966 5966
Partials 834 834
Continue to review full report at Codecov.
|
|
I think we may want to forward to /dev/null if debug is not set so that we make sure the pipes are flushed and don't backup and block the shim process |
@crosbymichael Great idea! So should we also forward to /dev/null when the shim process starting ? containerd/runtime/v1/shim/client/client.go Lines 70 to 84 in 0485499 |
|
@darfux ya, lets go ahead and make that change as well |
Currently when we restart containerd it will load all tasks with shim logs whether the `shim_debug` is set or not. Signed-off-by: Li Yuxuan <[email protected]>
a30a190 to
66036d9
Compare
|
Build succeeded.
|
|
@crosbymichael I found that the stdout&stderr of shim will be set to |
|
LGTM |
|
thanks @darfux |
Currently when we restart containerd it will load all tasks with shim
logs whether the
shim_debugis set or not.Signed-off-by: Li Yuxuan [email protected]