Application logs will be streamed to syslog drain endpoints which are configured in
TAS Settings -> System Logging -> Aggregate syslog drain destinations. The streamed logs will be tagged with metadata including
organization.space.app names. For example, the following logs from application app-usage-worker (in organization system, space system) are tagged with system.system.app-usage-worker.
2023-11-15T07:29:49.170027+00:00 system.system.app-usage-worker 07a79ab8-5ad1-4370-a8f1-2d27275f66a1[[APP/PROC/WEB/0]] [Worker(host:590d533a-ed6a-429f-6220-2b42 pid:16)] Job Jobs::MetricEmitterJob#emit_metrics_without_delay (id=66615) RUNNING
2023-11-15T07:29:49.170063+00:00 system.system.app-usage-worker 07a79ab8-5ad1-4370-a8f1-2d27275f66a1[[APP/PROC/WEB/0]] I, [2023-11-15T07:29:49.169481 #16] INFO -- : 2023-11-15T07:29:49+0000: [Worker(host:590d533a-ed6a-429f-6220-2b42 pid:16)] Job Jobs::MetricEmitterJob#emit_metrics_without_delay (id=66615) RUNNING
However logs from application task are not tagged with
organization.space.app names.
2023-11-15T07:28:54.045998+00:00 system.system.app-usage-worker 07a79ab8-5ad1-4370-a8f1-2d27275f66a1[[APP/PROC/WEB/0]] I, [2023-11-15T07:28:54.045738 #16] INFO -- : 2023-11-15T07:28:54+0000: [Worker(host:590d533a-ed6a-429f-6220-2b42 pid:16)] 1 jobs processed at 3.6792 j/s, 0 failed
2023-11-15T07:29:36.934869+00:00 - 07a79ab8-5ad1-4370-a8f1-2d27275f66a1[[APP/TASK/MYTASK/0]] this is a test TASK ...
2023-11-15T07:29:36.938925+00:00 - 07a79ab8-5ad1-4370-a8f1-2d27275f66a1[[APP/TASK/MYTASK/0]] Exit status 0