Not every deployment needs (or desires) to save these. Instead of trying to save the entry and failing every time, we can avoid all the work and turn the logging into a no-op.
Consider making logging opt-in instead of opt-out.