Empty Log Message (ARCH6163)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key ruby.logging.empty-log-message · Severity info · Category logging
An empty or whitespace-only log message produces noise with no diagnostic value. Log lines should always carry meaningful content.
Incorrect
Section titled “Incorrect”def run Rails.logger.info("") processendCorrect
Section titled “Correct”def run Rails.logger.info("Starting job", job: self.class.name) processendGive every log call a meaningful message that describes the context; remove empty messages.