Red Hat Bugzilla – Bug 1468342
OpenShift default logging driver is journald but logging says json-file locations
Last modified: 2017-07-06 14:19:34 EDT
Section Number and Name:
Having Fluentd Use the Systemd Journal as the Log Source
Describe the issue:
Reading of this is misleading. As its says by default fluentd reads from /var/log/containers/* for container logs.
But in 3.5 docker defaults to journald so really by default fluentd will read from journal
RHBA-2017:0903 - atomic-openshift-utils Bug Fix and Enhancement Update
The default docker log driver has been changed to journald in order to provider higher performance and lower logging latency. (BZ#1388191)
** We should include a warning that container logs are only symlinked to /var/log/container/* if docker is using "json-file"
** We should highlight that dockers defaults to use journald logging driver now in 3.5 or later.