Log "status_code" property to MongoDB