Open ustiugov opened 4 years ago
Hey. Thanks for opening this.
creating new VM
comes from our runtime.
As far as I see currently containerd
doesn't pass log level to shims (see 1, 2 and 3). So it makes sense to open an issue there and start discussion in containerd first.
As for your second question, containerd outputs logs to stdout/err, and from there you can redirect logs wherever you need. For instance, if you rely on systemd
, you can redirect stdout to a file like this: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardOutput=
I would like to suppress all logging below "warning" or "fatal" but firecracker-containerd does not account for the options provided in config.toml or in CLI.
Example:
I still see info logs on the screen (only from the firecracker-related components/plugins):
Also, is there a way to point containerd logs to a file instead of the screen?