Zum Inhalt springen

Empty Log Message (ARCH2163)

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

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.

logger.info("")
logger.info("Order processing completed: %s", order.id)

Give every log call a meaningful, non-empty message that describes the event.