modify logger