firecracker-microvm / firecracker-microvm/firecracker-containerd

firecracker-control plugin does not account for containerd logging setting

Open
#400 1 comment 0 reactions 0 assignees View on GitHub
upstream/containerd
Dominant language
Go
Stars
2.9k
Forks
247
PR merge metrics
No merged PRs in 30d

Description

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:
```
sudo firecracker-containerd --config /etc/firecracker-containerd/config.toml --log-level fatal
```

I still see info logs on the screen (only from the firecracker-related components/plugins):

```
INFO[2020-03-05T23:02:59.070640415+01:00] starting signal loop namespace=firecracker-containerd path=/var/lib/firecracker-containerd/shim-base/firecracker-containerd/10001 pid=834567
INFO[2020-03-05T23:02:59.071563821+01:00] creating new VM runtime=aws.firecracker vmID=10001

```

Also, is there a way to point containerd logs to a file instead of the screen?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.