MDC (Mapped Diagnostic Context)
GPTKB entity
Statements (23)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:logging_concept
|
| gptkbp:alternativeTo |
gptkb:NDC_(Nested_Diagnostic_Context)
|
| gptkbp:API |
clear()
get(String key) put(String key, String value) remove(String key) |
| gptkbp:commonIn |
adding contextual data to logs
tracking request IDs tracking user sessions |
| gptkbp:definedIn |
gptkb:org.apache.log4j.MDC
gptkb:org.slf4j.MDC |
| gptkbp:enables |
enriching log messages
tracking requests across threads |
| gptkbp:numberOfLocations |
key-value pairs
|
| gptkbp:purpose |
store contextual information for logging
|
| gptkbp:scope |
per-thread
|
| gptkbp:threadSafe |
thread-local storage
|
| gptkbp:usedIn |
gptkb:Log4j
gptkb:SLF4J gptkb:Logback |
| gptkbp:bfsParent |
gptkb:SLF4J
|
| gptkbp:bfsLayer |
6
|
| http://www.w3.org/2000/01/rdf-schema#label |
MDC (Mapped Diagnostic Context)
|