mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 14:08:31 +00:00
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:
parent
2d89766d3a
commit
37b91b3378
@ -612,7 +612,6 @@ func (fc *firecracker) fcSetLogger() error {
|
|||||||
Level: &fcLogLevel,
|
Level: &fcLogLevel,
|
||||||
LogFifo: &jailedLogFifo,
|
LogFifo: &jailedLogFifo,
|
||||||
MetricsFifo: &jailedMetricsFifo,
|
MetricsFifo: &jailedMetricsFifo,
|
||||||
Options: []string{},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
@ -31,9 +31,6 @@ type Logger struct {
|
|||||||
// Required: true
|
// Required: true
|
||||||
MetricsFifo *string `json:"metrics_fifo"`
|
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.
|
// Whether or not to output the level in the logs.
|
||||||
ShowLevel *bool `json:"show_level,omitempty"`
|
ShowLevel *bool `json:"show_level,omitempty"`
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ info:
|
|||||||
The API is accessible through HTTP calls on specific URLs
|
The API is accessible through HTTP calls on specific URLs
|
||||||
carrying JSON modeled data.
|
carrying JSON modeled data.
|
||||||
The transport medium is a Unix Domain Socket.
|
The transport medium is a Unix Domain Socket.
|
||||||
version: 0.19.0
|
version: 0.21.1
|
||||||
termsOfService: ""
|
termsOfService: ""
|
||||||
contact:
|
contact:
|
||||||
email: "compute-capsule@amazon.com"
|
email: "compute-capsule@amazon.com"
|
||||||
@ -508,12 +508,6 @@ definitions:
|
|||||||
type: boolean
|
type: boolean
|
||||||
description: Whether or not to include the file path and line number of the log's origin.
|
description: Whether or not to include the file path and line number of the log's origin.
|
||||||
default: false
|
default: false
|
||||||
options:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
description: Additional logging options. Only "LogDirtyPages" is supported.
|
|
||||||
default: []
|
|
||||||
|
|
||||||
MachineConfiguration:
|
MachineConfiguration:
|
||||||
type: object
|
type: object
|
||||||
|
Loading…
Reference in New Issue
Block a user