logging-fluentd redirects log to /var/log/fluentd/fluentd.log after recent update

Solution Verified - Updated -

Issue

  • Since we have the newer logging-fluentd image (v3.9.57) running, the /var/log is filled on our openshift nodes. We read in the documentation that one can redirect the output to STDOUT by setting the environment variable LOGGING_FILE_PATH=console. By setting that variable in the DaemonSet fluentd creates a file called console under /opt/app-root/src and 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content