[slf4j-dev] [Bug 108] New: SLF4JBridgeHandler discards records with null message

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri Nov 7 09:16:56 CET 2008


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

           Summary: SLF4JBridgeHandler discards records with null message
           Product: SLF4J
           Version: 1.5.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Unspecified
        AssignedTo: dev at slf4j.org
        ReportedBy: pepijn.vaneeckhoudt at luciad.com


SLF4JBridgeHandler checks if the message of a LogRecord is null. If so, it does
not forward this LogRecord to the underlying logging system. This causes
records with null messages to be discarded. If null messages are an issue for
certain logging systems it would be preferable to replace the message with an
empty string instead of discarding. This way if a Throwable is included in the
LogRecord it will still be forwarded to the logging system.


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list