Bug #47078
cephadm: ForwardToSyslog=yes (aka really huge syslog)
Status:
Need More Info
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:
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.
History
#1 Updated by Sebastian Wagner 5 months ago
- Description updated (diff)
#2 Updated by Sebastian Wagner 5 months ago
Maybe we can use journald namespaces??? https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html#Journal%20Namespaces
#3 Updated by Sebastian Wagner 5 months ago
#5 Updated by Sebastian Wagner 5 months ago
- Status changed from New to In Progress
#6 Updated by Sebastian Wagner 2 months ago
- Status changed from In Progress to Need More Info