logging changed for production