fluentd is configured to log to stdout
Bug #1888852 reported by
Michal Nasiadka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Michal Nasiadka | ||
Stein |
Won't Fix
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Unassigned | ||
Ussuri |
Fix Released
|
Medium
|
Unassigned | ||
Victoria |
Fix Released
|
Medium
|
Michal Nasiadka |
Bug Description
Fluentd is configured to log to stdout, which is effectively a json file (unless using different log driver) in /var/lib/docker.
This causes:
1) Big and long log file on long-running deploys
2) Hard to read older logs, no log rotation in place (besides docker daemon log truncation)
3) Hard to find real problems with fluentd (stderr and stdout in one JSON file)
Changed in kolla-ansible: | |
assignee: | nobody → Michal Nasiadka (mnasiadka) |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/742663 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=696533f2288 3d0b23f4a428dbd f5e22f3f1910ea
Committed: https:/
Submitter: Zuul
Branch: master
commit 696533f22883d0b 23f4a428dbdf5e2 2f3f1910ea
Author: Michal Nasiadka <email address hidden>
Date: Thu Jul 23 15:22:41 2020 +0200
fluentd: log to a file instead of stdout
fluentd logs currently to stdout, which is known to produce big docker logs kolla/fluentd.
in /var/lib/docker. This change makes fluentd to log to /var/log/
Closes-Bug: #1888852 6d26c6196cef68a adc6fd57b90
Change-Id: I8fe0e54cb764a2