Bug 1468342 - OpenShift default logging driver is journald but logging says json-file locations
Summary: OpenShift default logging driver is journald but logging says json-file locat...
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-06 18:19 UTC by Ryan Howe
Modified: 2019-08-10 06:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-10 06:45:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2017-07-06 18:19:28 UTC
Document URL: 
https://docs.openshift.com/container-platform/3.5/install_config/aggregate_logging.html#aggregated-fluentd

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 

```
https://docs.openshift.com/container-platform/3.5/release_notes/ocp_3_5_release_notes.html

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.


Note You need to log in before you can comment on or make changes to this bug.