To reduce IRC and SAL noise would it be possible to have the option to only log to IRC when needed?
For example instead of having:
!log ayounsi@cumin1001 START - Cookbook sre.network.peering with action 'email' for AS: 35320 11:00 !log ayounsi@cumin1001 END (PASS) - Cookbook sre.network.peering (exit_code=0) with action 'email' for AS: 35320
I should have:
!log ayounsi@cumin1001 - Cookbook sre.network.peering emailed AS35320
Or instead of:
!log ayounsi@cumin1001 START - Cookbook sre.network.peering with action 'email' for AS: 8932 11:00 !log ayounsi@cumin1001 END (FAIL) - Cookbook sre.network.peering (exit_code=99) with action 'email' for AS: 8932
I should have... nothing... As the cookbook got stopped before doing any useful action.
This would also allow running the cookbook with a "show" command without having to run it in dry-run mode.