Fix that logs go to the wrong task