wso2 / product-micro-integrator

The cloud-native configuration driven runtime that helps developers implement composite microservices.
https://wso2.com/integration/
Apache License 2.0
204 stars 221 forks source link

[Improvement]: Task related logs are logged inside the 'wso2-mi-service.log' file and doesn't contain the artifact name #3577

Open gabilang opened 3 months ago

gabilang commented 3 months ago

Description

$Subject

Logs related to the scheduled task which is injecting message to a sequence are being logged into the wso2-mi-service.log, where the proxy service and data service logs are supposed to be logged. And the SERVICE_LOGGER doesn't have a suffix to indicate the artifact name.

[2024-08-27 10:43:29,759] INFO {SERVICE_LOGGER} - To: ...

Describe your problem(s)

In order to reproduce this you can download the Periodical Scheduled Task from the sample projects.

Describe your solution(s)

Add the artifact name or remove the tasked related logs from the wso2-mi-service.log

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response