Ir al contenido

Empty Log Message (ARCH2163)

Esta página aún no está disponible en tu idioma.

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.