Changed logging in tasks