replaced logger