+++ This bug was initially created as a clone of Bug #1690232 +++
Description of problem:
Per https://bugzilla.redhat.com/show_bug.cgi?id=1651884#c4, when LOGGING_FILE_PATH=console, should use "oc logs $fluentd-pod" to view fluentd pod logs, but in fact, it doesn't show pod logs.
Set LOGGING_FILE_PATH=console makes fluentd store it's own logs to "/opt/app-root/src/console"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Set LOGGING_FILE_PATH=console in ds/fluentd, then check fluentd pod logs:
$ oc set env ds/fluentd LOGGING_FILE_PATH=console
$ oc exec fluentd-dvmk4 env |grep LOGGING_FILE
$ oc logs fluentd-dvmk4
Fluentd logs have been redirected to: console
If you want to print out the logs, use command:
oc exec <pod_name> -- logs
Should be able to use "oc logs $fluentd-pod" to view pod log when LOGGING_FILE_PATH=console
The PR wasn't merged to latest image loggging-fluentd:v3.10.129. Waiting another image
The bug was fixed in v3.10.139
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1729459 has been marked as a duplicate of this bug. ***