- When a task is completed, you will be able to see the below records in the app logs.
- Container lifecycle
- OUT logs for the task
- Below is a full log example for a task named "検証テスト". You should be able to view the similar outputs on both Tanzu Application Service for VMs (Apps Manager or cf logs command or App Metrics) or the third party platform where the logs are forwarding to.
[CELL/0] [OUT] Cell [DIEGO_CELL-INSTANCE-ID-xxx] creating container for instance [INSTANCE-ID-xxx]
[CELL/0] [OUT] Cell [DIEGO_CELL-INSTANCE-ID-xxx] successfully created container for instance [INSTANCE-ID-xxx]
[APP/TASK/検証テスト/0] [OUT] /home/vcap/app
[APP/TASK/検証テスト/0] [OUT] Exit status 0
[CELL/0] [OUT] Cell [DIEGO_CELL-INSTANCE-ID-xxx] stopping instance [INSTANCE-ID-xxx]
[CELL/0] [OUT] Cell [DIEGO_CELL-INSTANCE-ID-xxx] destroying container for instance [INSTANCE-ID-xxx]
[CELL/0] [OUT] Cell [DIEGO_CELL-INSTANCE-ID-xxx] successfully destroyed container for instance [INSTANCE-ID-xxx]
- However, due to a bug recorded in Sanitize ProcID in syslog messages #202 , the log messages with non-ASCII characters will be dropped when being forwarded to the third party log platform. Although it's still able to forward container lifecycle related logs.
[APP/TASK/検証テスト/0] [OUT] /home/vcap/app # Will be dropped
[APP/TASK/検証テスト/0] [OUT] Exit status 0 # Will be dropped