cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

Log task event handlers as INFO.

Open hjoliver opened this issue 1 year ago • 0 comments

At the moment, event handlers only show up below DEBUG level if they fail. Which is annoying.

On this branch:

 $ cylc log junk | grep Event
2023-12-18T17:17:59+13:00 INFO - Event 1/foo/01 "failed" event-handler-00: cylc set-outputs junk/run168//1/foo
2023-12-18T17:17:59+13:00 INFO - Event 1/bar/01 "failed" event-handler-00: cylc set-it-alight -o succeeded junk/run168//1/bar
2023-12-18T17:18:00+13:00 INFO - Event 1/foo/01 "failed" event-handler-00: succeeded
2023-12-18T17:18:00+13:00 WARNING - Event 1/bar/01 "failed" event-handler-00: failed

Check List

  • [*] I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • [*] Contains logically grouped changes (else tidy your branch by rebase).
  • [*] Does not contain off-topic changes (use other PRs for other changes).
  • [*] Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • [ ] Tests are included (or explain why tests are not needed).
  • [ ] CHANGES.md entry included if this is a change that can affect users
  • [*] Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • [*] If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

hjoliver avatar Dec 18 '23 04:12 hjoliver