Bug #47078
opencephadm: ForwardToSyslog=yes (aka really huge syslog)
0%
Description
ForwardToSyslog=yes
is default in man distros.
Which means, we have a chain here:
container's stdout -> systemd service -> journald -> really huge syslog
Which means every log message of every container ends up in /var/log/syslog or something similar.
The Problem is explained here: https://github.com/DataDog/datadog-agent/issues/1606#issuecomment-382384062
Q: is this still the case?
Is there any other way to disable ForwardToSyslog for our services? If we could find a way to disable this behavior for our
containers, we should be fine.
Updated by Sebastian Wagner over 3 years ago
Maybe we can use journald namespaces??? https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Journal%20Namespaces
Updated by Sebastian Wagner over 3 years ago
Updated by Sebastian Wagner over 3 years ago
- Status changed from New to In Progress
Updated by Sebastian Wagner over 3 years ago
- Status changed from In Progress to Need More Info
Updated by Sebastian Wagner about 3 years ago
- Priority changed from Urgent to Normal
Updated by Redouane Kachach Elhichou almost 2 years ago
As of today (May 5th 2022), it doesn't seem to be any practical solution to this issue. The only candidate is still journald namespaces but unfortunately this feature is not yet available on modern RHEL distros (AFAIK).