FC: Remove logger.options

Firecracker has removed `memory.dirty_pages` metric and `logger.options`
configuration.
Related PR: https://github.com/firecracker-microvm/firecracker/pull/1532.
We need to remove according setting in kata-containers.

Fixes: #2504

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
Penny Zheng 2020-02-28 03:24:10 +00:00
parent 2d89766d3a
commit 37b91b3378
3 changed files with 1 additions and 11 deletions

View File

@ -612,7 +612,6 @@ func (fc *firecracker) fcSetLogger() error {
Level: &fcLogLevel,
LogFifo: &jailedLogFifo,
MetricsFifo: &jailedMetricsFifo,
Options: []string{},
}
return err

View File

@ -31,9 +31,6 @@ type Logger struct {
// Required: true
MetricsFifo *string `json:"metrics_fifo"`
// Additional logging options. Only "LogDirtyPages" is supported.
Options []string `json:"options"`
// Whether or not to output the level in the logs.
ShowLevel *bool `json:"show_level,omitempty"`

View File

@ -5,7 +5,7 @@ info:
The API is accessible through HTTP calls on specific URLs
carrying JSON modeled data.
The transport medium is a Unix Domain Socket.
version: 0.19.0
version: 0.21.1
termsOfService: ""
contact:
email: "compute-capsule@amazon.com"
@ -508,12 +508,6 @@ definitions:
type: boolean
description: Whether or not to include the file path and line number of the log's origin.
default: false
options:
type: array
items:
type: string
description: Additional logging options. Only "LogDirtyPages" is supported.
default: []
MachineConfiguration:
type: object