fix logger for worker