Description of problem: In OCP 4.6 console, while we try to download pod logs, it is getting downloaded as `log.txt` for any pod logs. However, in OCP 4.5, when we try to download a pod log the format of the file would be `<pod-name>-<container-name>.log`. Naming every pod log file as log.txt would make it hard for the customer to understand if we try to download multiple pod logs (it will be like log.txt, log (1).txt, log (2).txt etc). Version-Release number of selected component (if applicable): OCP v4.6 How reproducible: 100% Steps to Reproduce: 1. Download a pod log from the OpenShift Console. Actual results: The downloaded pod logs are in the format `log.txt`. Expected results: The downloaded pod logs should be in the format `<pod-name>-<container-name>.log` as we see in OpenShift 4.5.
Created attachment 1770286 [details] the downloaded log file names The pod logs are now named as pod names instead of generic text. Version: 4.8.0-0.nightly-2021-04-08-005413 Steps to verify: 1. Login to admin console 2. Navigate to the Workloads>pods and download logs from the details 3. Note the name of the log file is same as the pod name.
log file name is in format: ${pod_name}-${container_name}.log
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438