STDOUT logs will also be contained when downloading/filtering the STDERR log in App Metrics
search cancel

STDOUT logs will also be contained when downloading/filtering the STDERR log in App Metrics

book

Article ID: 392593

calendar_today

Updated On:

Products

VMware Tanzu Platform VMware Tanzu Application Service for VMs

Issue/Introduction

Issue Description: STDOUT logs will also be contained when downloading/filtering the STDERR log in App Metrics.

How to reproduce?

1 - Select the following filters and click on APPLY button:

  • APP (Application)
  • STDERR

2 - Confirm that only the STDERR log line was displayed. This is working as expected. 

3 - Then click on DOWNLOAD button with the same filters being selected to export the logs. Only STDERR log lines are expected to be exported to the file.

4 - However, it is confirmed that both STDOUT and STDERR logs are being exported to the file.

$ tail -3 logs1742848054798-1742891254798 
750c8423-50c3-4b51-805a-48704cd87e20 APP/TASK/fbe67cda/0 2025-03-25T08:26:47.191541032Z OUT Invoking start command.                                                                     750c8423-50c3-4b51-805a-48704cd87e20 APP/TASK/fbe67cda/0 2025-03-25T08:26:47.195669876Z ERR bash: line 1: pwdddd: command not found                                                     750c8423-50c3-4b51-805a-48704cd87e20 APP/TASK/fbe67cda/0 2025-03-25T08:26:47.207642349Z OUT Exit status 127   

Resolution

This is a defect and will be fixed in the App Metrics v2.3.1

Please check the release notes for further update or contact Tanzu support team for further information.