Empty Log Message (ARCH2163)
Key python.logging.empty-log-message · Severity info · Category logging
An empty or whitespace-only log message produces noise with no diagnostic value. The log line shows something ran but explains nothing about what happened.
Incorrect
Section titled “Incorrect”logger.info("")Correct
Section titled “Correct”logger.info("Order processing completed: %s", order.id)Give every log call a meaningful, non-empty message that describes the event.