diff options
Diffstat (limited to 'resources/templates/telemetry/vpp_runtime.yaml')
-rw-r--r-- | resources/templates/telemetry/vpp_runtime.yaml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/resources/templates/telemetry/vpp_runtime.yaml b/resources/templates/telemetry/vpp_runtime.yaml index a0309a3fb5..b9a2368981 100644 --- a/resources/templates/telemetry/vpp_runtime.yaml +++ b/resources/templates/telemetry/vpp_runtime.yaml @@ -2,16 +2,23 @@ logging: version: 1 formatters: - console: + console_stdout: format: '%(asctime)s - %(name)s - %(message)s' + console_stderr: + format: '%(message)s' prom: format: '%(message)s' handlers: - console: + console_stdout: class: logging.StreamHandler level: INFO - formatter: console + formatter: console_stdout stream: ext://sys.stdout + console_stderr: + class: logging.StreamHandler + level: ERROR + formatter: console_stderr + stream: ext://sys.stderr prom: class: logging.handlers.RotatingFileHandler level: INFO @@ -25,7 +32,7 @@ logging: propagate: False root: level: INFO - handlers: [console] + handlers: [console_stdout, console_stderr] scheduler: duration: 1 programs: |