More logging in tasks