Open Fryguy opened 1 month ago
We had this issue with automate. I don't think developers should need to access a single large logfile all. It feels like a security issue, especially in the multi-tenant environment.
We currently have a mechanism that displays automae logs per job. Lets leverage that and collect worker logs for each workflow job.
@kbrock Partially agree. On the ManageIQ side, yes, we should absolutely put the logs into a different consumable format. However, for floe, I still think we need a differentiator in the raw logs, such as a guid.
Yeah so an idea I had was to use the context["Execution"]["Id"]
which would be unique for each workflow execution to use as a log_header in the per-workflow logger that @kbrock put in that should make it simple to see which workflow execution each log line was from
I would also like logging in automate so the rest of the system can follow workflow and automate processes
See example below.
I think we can fix this by ensuring that log lines are prefixed with a GUID or a run identifier or some sorr