restore logger setting for production [ci skip]