updated logging for production