slight change for logging in running task handler