Skip to content

Commit

Permalink
Log xtrigger satisfied.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Aug 14, 2019
1 parent aef57b9 commit e4f5f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/xtrigger_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,7 @@ def satisfy_xtriggers(self, itask: TaskProxy):
if wall_clock(*ctx.func_args, **ctx.func_kwargs):
itask.state.xtriggers[label] = True
self.sat_xtrig[sig] = {}
LOG.info('clock xtrigger satisfied: %s = %s' % (
label, str(ctx)))
LOG.info('xtrigger satisfied: %s = %s', label, sig)
continue
# General case: asynchronous xtrigger function call.
if sig in self.sat_xtrig:
Expand Down Expand Up @@ -333,6 +332,7 @@ def callback(self, ctx: SubFuncContext):
return
LOG.debug('%s: returned %s' % (sig, results))
if satisfied:
LOG.info('xtrigger satisfied: %s = %s', ctx.label, sig)
self.pflag = True
self.sat_xtrig[sig] = results

Expand Down

0 comments on commit e4f5f76

Please sign in to comment.