Repository: logging-log4j2
Updated Branches:
  refs/heads/master beac9f220 -> 19a79ec5f


[LOG4J2-1126] Site fixes/improvements for 2.4 release.

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

Branch: refs/heads/master
Commit: 19a79ec5f515f4ec3c30c10fbb94106f57b8b88c
Parents: beac9f2
Author: ggregory <[email protected]>
Authored: Mon Sep 21 14:39:06 2015 -0700
Committer: ggregory <[email protected]>
Committed: Mon Sep 21 14:39:06 2015 -0700

----------------------------------------------------------------------
 src/site/xdoc/faq.xml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/19a79ec5/src/site/xdoc/faq.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/faq.xml b/src/site/xdoc/faq.xml
index eb848c8..efc7fed 100644
--- a/src/site/xdoc/faq.xml
+++ b/src/site/xdoc/faq.xml
@@ -63,12 +63,9 @@
 
                <a name="config_from_code" />
         <h4>How do I configure log4j2 in code without a configuration 
file?</h4>
-        <p>You could use the static method <code>#initialize(String 
contextName, ClassLoader loader, String configLocation)</code>
-         (see
-         <a 
href="log4j-core/xref/org/apache/logging/log4j/core/config/Configurator.html">source
 code</a>)
-          in <code>org.apache.logging.log4j.core.config.Configurator</code>.
-         (You can pass null for the class loader.)
-         Be aware that this class is not part of the public API so your code 
may break with any minor release.</p>
+        <p>Starting with version 2.4, Log4j 2 provides an [API for 
programmatic configuration|manual/customconfig.html]. 
+        The new ConfigurationBuilder API allows you to create Configurations 
in code by constructing component definitions 
+        without requiring you to know about the internals of actual 
configuration objects like Loggers and Appenders.</p>
 
         <a name="reconfig_from_code" />
         <h4>How do I reconfigure log4j2 in code with a specific configuration 
file?</h4>

Reply via email to