Ir al contenido

Empty Log Message (ARCH4163)

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

Key java.logging.empty-log-message · Severity info · Category logging

An empty or whitespace-only log message produces noise with no diagnostic value. Whoever reads the log line learns nothing about what happened.

log.debug("");
log.info(" ");
log.debug("Cache entry found: key={}", key);
log.info("Batch completed: {} records", count);

Give every log call a meaningful message describing the event; remove empty calls.