With the release of cf CLI v6.50.0, logs (including staging logs when pushing an application) are now retrieved from Log Cache.
Note: This is a known issue that may result in a failure to retrieve logs from certain versions of Log Cache.
Failed to retrieve logs from Log Cache: unexpected status code 404
The following are steps that may reproduce this issue:
This only impacts certain older versions of Log Cache. VMware Tanzu Application Service for VMs (TAS for VMs) has patched this issue in several versions. If you have not upgraded, please upgrade to resolve this issue.
The following TAS for VMs versions have the fix: