Fix logging tasks