You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: runtime/v2/README.md
+7
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,13 @@ If the shim collects Out of Memory events, it SHOULD also publish a `runtime.Tas
157
157
158
158
If a shim does not or cannot implement an rpc call, it MUST return a `github.com/containerd/containerd/errdefs.ErrNotImplemented` error.
159
159
160
+
#### Debugging and Shim Logs
161
+
162
+
A fifo on unix or named pipe on Windows will be provided to the shim.
163
+
It can be located inside the `cwd` of the shim named "log".
164
+
The shims can use the existing `github.com/containerd/containerd/log` package to log debug messages.
165
+
Messages will automatically be output in the containerd's daemon logs with the correct fields and runtime set.
166
+
160
167
#### ttrpc
161
168
162
169
[ttrpc](https://github.com/containerd/ttrpc) is the only currently supported protocol for shims.
0 commit comments