repace logging with specific logger