You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2017/11/13 15:49:22 UTC

logging-log4j2 git commit: [LOG4J2-2114] Provide a native Log4j 2 implementation of Eclipse Jetty's org.eclipse.jetty.util.log.Logger. Site docs.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master e6a1fec5e -> df9be749d


[LOG4J2-2114] Provide a native Log4j 2 implementation of Eclipse Jetty's
org.eclipse.jetty.util.log.Logger. Site docs.

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

Branch: refs/heads/master
Commit: df9be749da304ba45770803d9ded9d9d496ba59f
Parents: e6a1fec
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Nov 13 08:49:20 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Nov 13 08:49:20 2017 -0700

----------------------------------------------------------------------
 log4j-appserver/src/site/markdown/index.md.vm | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/df9be749/log4j-appserver/src/site/markdown/index.md.vm
----------------------------------------------------------------------
diff --git a/log4j-appserver/src/site/markdown/index.md.vm b/log4j-appserver/src/site/markdown/index.md.vm
index 8a7ac59..7128bc2 100644
--- a/log4j-appserver/src/site/markdown/index.md.vm
+++ b/log4j-appserver/src/site/markdown/index.md.vm
@@ -45,3 +45,15 @@ $h3 Requirements
 
 Requires Tomcat 8.5 or later.
 
+$h2 Eclipse Jetty
+
+Log4j may be used as the logging framework for Eclipse Jetty.
+
+To direct Jetty to use this class, set the system property `org.eclipse.jetty.util.log.class` to `org.apache.logging.log4j.appserver.jetty.Log4j2Logger`.
+
+From the command line with:
+```-Dorg.eclipse.jetty.util.log.class = org.apache.logging.log4j.appserver.jetty.Log4j2Logger```
+
+Programmatically with:
+```System.setProperty("org.eclipse.jetty.util.log.class", "org.apache.logging.log4j.appserver.jetty.Log4j2Logger");```
+ 
\ No newline at end of file