logging-fluentd redirects log to /var/log/fluentd/fluentd.log after recent update
Issue
- Since we have the newer
logging-fluentdimage (v3.9.57) running, the/var/logis filled on our openshift nodes. We read in the documentation that one can redirect the output toSTDOUTby setting the environment variableLOGGING_FILE_PATH=console. By setting that variable in theDaemonSetfluentdcreates a file calledconsoleunder/opt/app-root/srcand redirects (2>&1) to that file.
Environment
- Red Hat OpenShift Container Platform
- 3.9
- 3.10
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.