Repository: logging-log4j2 Updated Branches: refs/heads/master 4b4cd0e55 -> dff54a886
Fix grammar Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/dff54a88 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/dff54a88 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/dff54a88 Branch: refs/heads/master Commit: dff54a8861d22ce5be7e4624a72828d113640bdd Parents: 4b4cd0e Author: Ralph Goers <[email protected]> Authored: Sun Sep 27 15:05:03 2015 -0700 Committer: Ralph Goers <[email protected]> Committed: Sun Sep 27 15:05:03 2015 -0700 ---------------------------------------------------------------------- src/site/xdoc/manual/customconfig.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/dff54a88/src/site/xdoc/manual/customconfig.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/manual/customconfig.xml b/src/site/xdoc/manual/customconfig.xml index 477ef48..aafd136 100644 --- a/src/site/xdoc/manual/customconfig.xml +++ b/src/site/xdoc/manual/customconfig.xml @@ -41,7 +41,7 @@ Starting with release 2.4, Log4j provides a ConfigurationBuilder and a set of component builders that allow a Configuration to be created fairly easily. Actual configuration objects like LoggerConfig or Appender can be unwieldy; they require a lot - of knowledge on Log4j internals which makes them difficult to work with if all you want is + of knowledge about Log4j internals which makes them difficult to work with if all you want is to create a Configuration. </p> <p> @@ -61,10 +61,13 @@ for the component you want to configure. </p> <p> - For example, the builder does not know what components can be configured on specific components + For example, the builder does not know what sub-components can be configured on specific components such as the RollingFileAppender vs. the RoutingAppender. To specify a triggering policy on a RollingFileAppender you would use builder.newComponent(). </p> + <p> + Examples of using the ConfigurationBuilder API are in the sections that follow. + </p> </subsection> <a name="ConfigurationFactory"/> <subsection name="Understanding ConfigurationFactory">
