diff --git a/slf4j-site/src/site/pages/legacy.html b/slf4j-site/src/site/pages/legacy.html old mode 100644 new mode 100755 index aac8a134..f24fd501 --- a/slf4j-site/src/site/pages/legacy.html +++ b/slf4j-site/src/site/pages/legacy.html @@ -223,14 +223,14 @@ because packages under the java.* namespace cannot be replaced. Instead, jul-to-slf4j translates LogRecord - objects into their SLF4J equivalent. Please note this traslation + objects into their SLF4J equivalent. Please note this translation process incurs the cost of constructing a LogRecord instance regardless of whether the SLF4J logger is disabled for the given level or nor. Consequently, j.u.l. to SLF4J translation can seriously increase the cost of disabled logging statements (60 fold or 6000%) and measurably impact the performance of enabled log statements (20% overall increase). - As of logback-version 0.9.25, it is possible to completely + As of logback version 0.9.25, it is possible to completely eliminate the 60 fold translation overhead for disabled log statements with the help of LevelChangePropagator. diff --git a/slf4j-site/src/site/pages/manual.html b/slf4j-site/src/site/pages/manual.html old mode 100644 new mode 100755 index 03c08888..7f844195 --- a/slf4j-site/src/site/pages/manual.html +++ b/slf4j-site/src/site/pages/manual.html @@ -399,9 +399,11 @@ SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail

Mapped Diagnostic Context (MDC) support

-

"Mapped Diagnostic Context" is essentially a map maintained by the - logging framework where the application can provided key-value pairs, - which can then be inserted by the logging framework in log messages.

+

"Mapped Diagnostic Context" is essentially a map maintained + by the logging framework where the application code provides + key-value pairs which can then be inserted by the logging + framework in log messages. MDC data can also be highly helpful + in filtering messages or triggering certain actions.

SLF4J supports MDC, or mapped diagnostic context. If the underlying logging framework offers MDC functionality, then