Repository: logging-log4j2 Updated Branches: refs/heads/master ac51b5bc4 -> 12f91ebc7
LOG4J2-1806 Fix javadoc for DefaultRolloverStrategy::purgeAscending This closes #41 https://github.com/apache/logging-log4j2/pull/41 Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/12f91ebc Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/12f91ebc Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/12f91ebc Branch: refs/heads/master Commit: 12f91ebc700ea7f4a57306a4d84fce2f75f8442b Parents: ac51b5b Author: rpopma <[email protected]> Authored: Fri Feb 3 02:43:32 2017 +0900 Committer: rpopma <[email protected]> Committed: Fri Feb 3 02:43:32 2017 +0900 ---------------------------------------------------------------------- .../log4j/core/appender/rolling/DefaultRolloverStrategy.java | 4 ++-- src/changes/changes.xml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/12f91ebc/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java index c8373d7..6ffd54c 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/rolling/DefaultRolloverStrategy.java @@ -203,8 +203,8 @@ public class DefaultRolloverStrategy extends AbstractRolloverStrategy { * Purges and renames old log files in preparation for rollover. The oldest file will have the smallest index, the * newest the highest. * - * @param lowIndex low index - * @param highIndex high index. Log file associated with high index will be deleted if needed. + * @param lowIndex low index. Log file associated with low index will be deleted if needed. + * @param highIndex high index. * @param manager The RollingFileManager * @return true if purge was successful and rollover should be attempted. */ http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/12f91ebc/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 3d9582b..a0c7deb 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -37,6 +37,9 @@ <action issue="LOG4J2-1799" dev="rpopma" type="fix" due-to="Eduard Gizatullin"> Fixed bug in PropertiesUtil::getCharsetProperty that caused UnsupportedCharsetException for ConsoleAppender. </action> + <action issue="LOG4J2-1806" dev="rpopma" type="fix" due-to="challarao"> + Fix javadoc for DefaultRolloverStrategy::purgeAscending + </action> </release> <release version="2.8" date="2017-01-21" description="GA Release 2.8"> <action issue="LOG4J2-1780" dev="mikes" type="fix">
