[Bug 207] New: SLF4JLocationAwareLog converts null messages to 'null'

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: slf4j-dev@qos.ch ReportedBy: tuomas.kiviaho@iki.fi 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.
participants (1)
-
bugzilla-daemon@pixie.qos.ch