http://bugzilla.slf4j.org/show_bug.cgi?id=207

           Summary: SLF4JLocationAwareLog converts null messages to 'null'
           Product: SLF4J
           Version: 1.6.x
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: jcl-over-slf4j
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I know that JCL has problems when supplying nulls as log messages (NPE if I
remember correctly) but I found out that slf4j copes with them nicely. I have a
situation where stack trace contains all the information I need and I would
like to misuse the message being null as a certain use case scenario, but I see
that null gets the somewhat annoying String.valueOf(null) -> "null" treatment.
I think more appropriate would be passing null values as null instead of string
"null" since null /= "null"


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev

Reply via email to