fix logging for prod