MariaDB Docker image: How to get meaningful log levels (everything is logged as error)?
0
votes
0
answers
196
views
I'm using the MariaDB docker image with podman for a Nextcloud instance. Everything works, but when I look at the logs (with podman logs or journalctl), everything is logged at log level error. It seems to me that the container just writes everything to stderr which journald on the host then picks up at the level error, even though the messages themselves are mostly harmless such as:
2024-04-22 21:46:51 0 [Note] Starting MariaDB 10.11.7-MariaDB-1:10.11.7+maria~ubu2204-log source revision 87e13722a95af5d9378d990caf48cb6874439347 as process 1
How can I get the container to log at appropriate levels? E.g. by only sending actual errors to stderr but all informational messages or warnings to stdout?
Asked by Timo
(11 rep)
Apr 26, 2024, 08:23 PM
Last activity: Apr 27, 2024, 12:14 PM
Last activity: Apr 27, 2024, 12:14 PM