[JIRA] (SLF4J-409) Logging null messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[JIRA] (SLF4J-409) Logging null messages

JIRA noreply-jira@qos.ch
Devin Smith created SLF4J-409:

             Summary: Logging null messages
                 Key: SLF4J-409
                 URL: https://jira.qos.ch/browse/SLF4J-409
             Project: SLF4J
          Issue Type: Bug
          Components: jul-to-slf4j
            Reporter: Devin Smith
            Assignee: SLF4J developers list
            Priority: Minor

Copied from message I sent to mailing list.


While searching through the logging framework(s) to see why something was being logged as it was, I came across some curious code (unrelated to my issue).
While the comment seems valid, `message` is an otherwise unused local variable. If the comment is still relevant, and I'm not going crazy, I'm assuming it should instead be `record.setMessage("")`?

This message was sent by Atlassian JIRA
slf4j-dev mailing list
[hidden email]