logger fixed for worker