This is missing the `%` formating. But it would be nicer to use
```python
log.msg(format='...%(scheduler)s....%(oldState)...', scheduler=self.name, oldState=lastTrigger)
```