Skip to content

Commit 901dd61

Browse files
authored
Merge pull request #439 from kzys/fix-log-level
Rename log_level to log_levels
2 parents 5b51e6f + 72f8a6d commit 901dd61

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.buildkite/setup_al2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cat << EOF > $runtime_config_path
4343
"shim_base_dir": "$dir",
4444
"kernel_image_path": "$dir/default-vmlinux.bin",
4545
"kernel_args": "ro console=ttyS0 noapic reboot=k panic=1 pci=off nomodules systemd.journald.forward_to_console systemd.log_color=false systemd.unit=firecracker.target init=/sbin/overlay-init",
46-
"log_level": "DEBUG",
46+
"log_levels": ["debug"],
4747
"root_drive": "$dir/default-rootfs.img",
4848
"jailer": {
4949
"runc_binary_path": "$bin_path/runc",

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ configuration file has the following fields:
232232
values are "C3" and "T2".
233233
* `additional_drives` (unused)
234234
* `log_fifo` (optional) - Named pipe where Firecracker logs should be delivered.
235-
* `log_level` (optional) - Log level for the Firecracker logs
235+
* `log_levels` (optional) - Log level for the Firecracker logs.
236236
* `metrics_fifo` (optional) - Named pipe where Firecracker metrics should be
237237
delivered.
238238
* `ht_enabled` (unused) - Reserved for future use.
@@ -255,7 +255,7 @@ configuration file has the following fields:
255255
"root_drive": "/var/lib/firecracker-containerd/runtime/default-rootfs.img",
256256
"cpu_template": "T2",
257257
"log_fifo": "fc-logs.fifo",
258-
"log_level": "Debug",
258+
"log_levels": ["debug"],
259259
"metrics_fifo": "fc-metrics.fifo"
260260
}
261261
```

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ sudo tee /etc/containerd/firecracker-runtime.json <<EOF
161161
"firecracker_binary_path": "/usr/local/bin/firecracker",
162162
"cpu_template": "T2",
163163
"log_fifo": "fc-logs.fifo",
164-
"log_level": "Debug",
164+
"log_levels": ["debug"],
165165
"metrics_fifo": "fc-metrics.fifo",
166166
"kernel_args": "console=ttyS0 noapic reboot=k panic=1 pci=off nomodules ro systemd.journald.forward_to_console systemd.unit=firecracker.target init=/sbin/overlay-init",
167167
"default_network_interfaces": [{

0 commit comments

Comments
 (0)