After performing a number of operations to nudge a workflow back into running “on time”, I figured I should capture the operations I was making. I checked out the workflow owner’s UI server logs and found:
2024-10-07T22:52:38 INFO jarich: authorized to trigger
2024-10-07T22:52:41 INFO jarch: authorized to trigger
2024-10-07T22:53:32 INFO other_user: authorized to read
2024-10-07T22:54:33 INFO other_user: authorized to read
2024-10-07T22:55:33 INFO other_user: authorized to read
2024-10-07T22:56:34 INFO other_user: authorized to read
2024-10-07T22:56:44 INFO jarich: authorized to set
2024-10-07T22:56:52 INFO jarich: authorized to set
2024-10-07T22:57:14 INFO jarich: authorized to set
2024-10-07T22:57:23 INFO jarich: authorized to set
but unfortunately that doesn’t tell me what I triggered or set. The hub logs also don’t provide this information:
[I 2024-10-07T22:52:38.561 JupyterHub log:192] 200 GET /hub/api/user (jarich@127.0.0.1) 7.96ms
[I 2024-10-07 22:52:38.564 CylcUIServer] jarich: authorized to trigger
[I 2024-10-07 22:52:38.733 CylcHubApp log:192] 200 POST /user/c1_project_prod/cylc/graphql (jarich@::ffff:10.19.96.44) 181.73ms
[...]
[I 2024-10-07 22:52:41.410 CylcUIServer] jarich: authorized to trigger
[I 2024-10-07 22:52:41.541 CylcHubApp log:192] 200 POST /user/c1_project_prod/cylc/graphql (jarich@::ffff:10.19.96.44) 134.01ms
Is there a way to add this extra information in? For example:
2024-10-07T22:52:41 INFO jarich: authorized to trigger
2024-10-07T22:52:41 INFO jarich: triggered workflow_owner/workflow/cycle_point/task
...
2024-10-07T22:57:23 INFO jarich: authorized to set
2024-10-07T22:57:23 INFO jarich: set output=succeeded on workflow_owner/workflow/cycle_point/task2
We’ve certainly had situations in the past where operators have made mistakes. Triggering the wrong task, accidentally suspending/stopping workflows etc. It would be really helpful if we could get more details on who did what, especially when multiple people are taking actions.