Open mhamra opened 1 week ago
The log format used by the modules differs. The workflow_engine log format is the following:
workflow_engine
https://github.com/wazuh/wazuh-qa/blob/e61da0ccbceeb2983fcf62f037384cb3e2471403/deployability/modules/workflow_engine/logger/config.yaml#L5-L10
The other modules use this format:
https://github.com/wazuh/wazuh-qa/blob/e61da0ccbceeb2983fcf62f037384cb3e2471403/deployability/modules/generic/logger/config.yaml#L5-L10
The desired format must be the first; the modules called from the workflow must receive the process and thread name to generate the desired format.
thread name
I suggest improving the log file format by adding the task name of the workflow.
We also need to add to the console output which module is executing the task, this is reported in the log file but not in the console output
The log format used by the modules differs. The
workflow_engine
log format is the following:https://github.com/wazuh/wazuh-qa/blob/e61da0ccbceeb2983fcf62f037384cb3e2471403/deployability/modules/workflow_engine/logger/config.yaml#L5-L10
The other modules use this format:
https://github.com/wazuh/wazuh-qa/blob/e61da0ccbceeb2983fcf62f037384cb3e2471403/deployability/modules/generic/logger/config.yaml#L5-L10
The desired format must be the first; the modules called from the workflow must receive the process and
thread name
to generate the desired format.I suggest improving the log file format by adding the task name of the workflow.
We also need to add to the console output which module is executing the task, this is reported in the log file but not in the console output