Fixes to log writer to keep up with changes to Clockwork API