[slf4j-dev] [Bug 148] Add support for Structured Data

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Sep 7 19:32:23 CEST 2011


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

John Vasileff <git at netcc.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git at netcc.us

--- Comment #10 from John Vasileff <git at netcc.us> 2011-09-07 19:32:23 CEST ---
I am trying to better understand requirements for StructuredData to go along
with my proposal for bug 31.

For use cases, do the following make sense?

1. Appender, please add values from the provided Map to the log entry in the
best way you can.  The map's data is more transient than MDC data, so I am
providing it here.

2. Appender, please add this rfc compliant StructuredData to the log entry in
the best way you can.  Similar to #1, but with a StructuredData object instead
of a Map.

3. Logger, I don't have a message for you, but please format this
Map/StructuredData as the message.

4. Logger, I am providing you with NDC, MDC, and/or transient
Map/StructuredData.  Please format my log message taking these key/value pairs
into account using a new log format that supports {key}, or even
{[NDC|MDC|MAP]:key}.
Also, please attach NDC, MDC, and Map/StructuredData to the log entry in the
best way you can.

-- 
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