Adding logging tasks.