Repository: logging-log4j2 Updated Branches: refs/heads/master 6f108cf06 -> d3c24001a
LOG4J2-771 (Main Args Lookup) minor text tweak Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/d3c24001 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/d3c24001 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/d3c24001 Branch: refs/heads/master Commit: d3c24001adf0967f385c6d2e3bc88d0f845b1389 Parents: 6f108cf Author: rpopma <[email protected]> Authored: Sun Sep 28 00:49:48 2014 +0900 Committer: rpopma <[email protected]> Committed: Sun Sep 28 00:49:48 2014 +0900 ---------------------------------------------------------------------- src/site/xdoc/manual/lookups.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/d3c24001/src/site/xdoc/manual/lookups.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/lookups.xml b/src/site/xdoc/manual/lookups.xml index 0140199..f23e40f 100644 --- a/src/site/xdoc/manual/lookups.xml +++ b/src/site/xdoc/manual/lookups.xml @@ -37,16 +37,15 @@ <a name="AppMainArgsLookup"/> <subsection name="Application main arguments lookup"> <p> - This lookup requires a manual step. - You can access the main arguments of an application if they have been set with: + This lookup requires that you manually provide + the main arguments of the application to Log4j: </p> <pre class="prettyprint linenums"><![CDATA[ import org.apache.logging.log4j.core.lookup.MapLookup; public static void main(String args[]) { - //... MapLookup.setMainArguments(args); - //... + ... }]]></pre> <p> Then, if your static void main String[] arguments are:
