You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2018/07/22 17:22:29 UTC

[2/2] logging-log4j2 git commit: Update the SLF4J adapter documentation

Update the SLF4J adapter documentation


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/27205c8a
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/27205c8a
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/27205c8a

Branch: refs/heads/release-2.x
Commit: 27205c8a1e7fcf0b59fa3d5f615eccfbf4102ac0
Parents: d310dd4
Author: Ralph Goers <rg...@apache.org>
Authored: Sun Jul 22 10:22:20 2018 -0700
Committer: Ralph Goers <rg...@apache.org>
Committed: Sun Jul 22 10:22:20 2018 -0700

----------------------------------------------------------------------
 log4j-slf4j-impl/src/site/markdown/index.md | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/27205c8a/log4j-slf4j-impl/src/site/markdown/index.md
----------------------------------------------------------------------
diff --git a/log4j-slf4j-impl/src/site/markdown/index.md b/log4j-slf4j-impl/src/site/markdown/index.md
index 6e3f3f6..2eaea2c 100644
--- a/log4j-slf4j-impl/src/site/markdown/index.md
+++ b/log4j-slf4j-impl/src/site/markdown/index.md
@@ -21,6 +21,12 @@
 The Log4j 2 SLF4J Binding allows applications coded to the SLF4J API to use
 Log4j 2 as the implementation.
 
+Due to a break in compatibility in the SLF4J binding, as of release 2.11.1 two SLF4J to Log4j Adapters are provided.
+1. log4j-slf4j-impl should be used with SLF4J 1.7.x releases or older.
+1. log4j-slf4j18-impl should be used with SLF4J 1.8.x releases or newer.
+
+Applications that take advantage of the Java Module System should use SLF4J 1.8.x and log4j-slf4j18-impl.
+
 ## Requirements
 
 The Log4j 2 SLF4J Binding has a dependency on the Log4j 2 API as well as the SLF4J API.