Repository: logging-log4j2 Updated Branches: refs/heads/master aae3cc8f8 -> ff663d71e
Javadoc: Use the active voice. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/ff663d71 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/ff663d71 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/ff663d71 Branch: refs/heads/master Commit: ff663d71e02849015e921d8b69be7f8ae11a3389 Parents: aae3cc8 Author: Gary Gregory <[email protected]> Authored: Thu Jan 4 12:39:51 2018 -0700 Committer: Gary Gregory <[email protected]> Committed: Thu Jan 4 12:39:51 2018 -0700 ---------------------------------------------------------------------- .../log4j/core/appender/rewrite/PropertiesRewritePolicy.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ff663d71/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java index 097d63d..64da294 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rewrite/PropertiesRewritePolicy.java @@ -38,8 +38,9 @@ import org.apache.logging.log4j.status.StatusLogger; */ @Plugin(name = "PropertiesRewritePolicy", category = Core.CATEGORY_NAME, elementType = "rewritePolicy", printObject = true) public final class PropertiesRewritePolicy implements RewritePolicy { + /** - * Allow subclasses access to the status logger without creating another instance. + * Allows subclasses access to the status logger without creating another instance. */ protected static final Logger LOGGER = StatusLogger.getLogger(); @@ -57,7 +58,7 @@ public final class PropertiesRewritePolicy implements RewritePolicy { } /** - * Rewrite the event. + * Rewrites the event. * @param source a logging event that may be returned or * used to create a new logging event. * @return The LogEvent after rewriting. @@ -93,7 +94,7 @@ public final class PropertiesRewritePolicy implements RewritePolicy { } /** - * The factory method to create the PropertiesRewritePolicy. + * Creates a PropertiesRewritePolicy. * @param config The Configuration. * @param props key/value pairs for the new keys and values. * @return The PropertiesRewritePolicy.
