updated production logging