adding logger statements to delayed tasks