Remove logging of statistics when we are in production environment.