Podman logs and priority level #18991
-
Hello, These appear to be standard info logs from the containers. How is rsyslog deciding that these logs should be error level? Not sure if I should be pursuing this with podman, rsyslog, or at the container level. Any guidance would be appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The log driver only sees stdout and stderr from the container process. |
Beta Was this translation helpful? Give feedback.
The log driver only sees stdout and stderr from the container process.
stdout is logged at info level while stderr is logged at error level, see
https://github.com/containers/conmon/blob/2832e4f751939b4c63e34b2b6bcfbc103b1c7321/src/ctr_logging.c#L255-L258