updated production logging to error only