You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2019/06/16 21:15:17 UTC

[logging-log4j2] branch master updated (bbb62a6 -> c2cf9d8)

This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git.


    from bbb62a6  Add article link
     new 34d3ece  (doc) List archived roll-over files by there age to clarify differences between fileIndex=min and fileIndex=max.
     new c2cf9d8  (doc) Change order of fileIndex variants in manual to describe default one first.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/site/asciidoc/manual/appenders.adoc | 46 ++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 23 deletions(-)


[logging-log4j2] 01/02: (doc) List archived roll-over files by there age to clarify differences between fileIndex=min and fileIndex=max.

Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 34d3ececb5ee0bb9ec5a1afd1453168f03f8447c
Author: pazderski <pa...@askvisual.de>
AuthorDate: Mon Feb 11 13:23:55 2019 +0100

    (doc) List archived roll-over files by there age to clarify differences between
    fileIndex=min and fileIndex=max.
---
 src/site/asciidoc/manual/appenders.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/site/asciidoc/manual/appenders.adoc b/src/site/asciidoc/manual/appenders.adoc
index 9fdf961..43ec989 100644
--- a/src/site/asciidoc/manual/appenders.adoc
+++ b/src/site/asciidoc/manual/appenders.adoc
@@ -2791,15 +2791,15 @@ the other settings are the same the following actions will be performed.
 |1 |foo.log |foo-1.log |During the first rollover foo.log is renamed to
 foo-1.log. A new foo.log file is created and starts being written to.
 
-|2 |foo.log |foo-1.log, foo-2.log |During the second rollover foo.log is
+|2 |foo.log |foo-2.log, foo-1.log |During the second rollover foo.log is
 renamed to foo-2.log. A new foo.log file is created and starts being
 written to.
 
-|3 |foo.log |foo-1.log, foo-2.log, foo-3.log |During the third rollover
+|3 |foo.log |foo-3.log, foo-2.log, foo-1.log |During the third rollover
 foo.log is renamed to foo-3.log. A new foo.log file is created and
 starts being written to.
 
-|4 |foo.log |foo-1.log, foo-2.log, foo-3.log |In the fourth and
+|4 |foo.log |foo-3.log, foo-2.log, foo-1.log |In the fourth and
 subsequent rollovers, foo-1.log is deleted, foo-2.log is renamed to
 foo-1.log, foo-3.log is renamed to foo-2.log and foo.log is renamed to
 foo-3.log. A new foo.log file is created and starts being written to.


[logging-log4j2] 02/02: (doc) Change order of fileIndex variants in manual to describe default one first.

Posted by rg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit c2cf9d80ffa8e9eb368dc5de6c3ee3f5c449e1d4
Author: pazderski <pa...@askvisual.de>
AuthorDate: Mon Feb 11 13:28:06 2019 +0100

    (doc) Change order of fileIndex variants in manual to describe default one first.
---
 src/site/asciidoc/manual/appenders.adoc | 50 ++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 25 deletions(-)

diff --git a/src/site/asciidoc/manual/appenders.adoc b/src/site/asciidoc/manual/appenders.adoc
index 43ec989..2015b77 100644
--- a/src/site/asciidoc/manual/appenders.adoc
+++ b/src/site/asciidoc/manual/appenders.adoc
@@ -2750,10 +2750,9 @@ for Java]. The pattern may also contain lookup references that can be
 resolved at runtime such as is shown in the example below.
 
 The default rollover strategy supports three variations for incrementing
-the counter. The first is the "fixed window" strategy. To illustrate how
-it works, suppose that the min attribute is set to 1, the max attribute
-is set to 3, the file name is "foo.log", and the file name pattern is
-"foo-%i.log".
+the counter. To illustrate how it works, suppose that the min attribute 
+is set to 1, the max attribute is set to 3, the file name is "foo.log", 
+and the file name pattern is "foo-%i.log".
 
 [cols=",,,",options="header",]
 |=======================================================================
@@ -2764,23 +2763,23 @@ is set to 3, the file name is "foo.log", and the file name pattern is
 |1 |foo.log |foo-1.log |During the first rollover foo.log is renamed to
 foo-1.log. A new foo.log file is created and starts being written to.
 
-|2 |foo.log |foo-1.log, foo-2.log |During the second rollover foo-1.log
-is renamed to foo-2.log and foo.log is renamed to foo-1.log. A new
-foo.log file is created and starts being written to.
+|2 |foo.log |foo-2.log, foo-1.log |During the second rollover foo.log is
+renamed to foo-2.log. A new foo.log file is created and starts being
+written to.
 
-|3 |foo.log |foo-1.log, foo-2.log, foo-3.log |During the third rollover
-foo-2.log is renamed to foo-3.log, foo-1.log is renamed to foo-2.log and
-foo.log is renamed to foo-1.log. A new foo.log file is created and
+|3 |foo.log |foo-3.log, foo-2.log, foo-1.log |During the third rollover
+foo.log is renamed to foo-3.log. A new foo.log file is created and
 starts being written to.
 
-|4 |foo.log |foo-1.log, foo-2.log, foo-3.log |In the fourth and
-subsequent rollovers, foo-3.log is deleted, foo-2.log is renamed to
-foo-3.log, foo-1.log is renamed to foo-2.log and foo.log is renamed to
-foo-1.log. A new foo.log file is created and starts being written to.
+|4 |foo.log |foo-3.log, foo-2.log, foo-1.log |In the fourth and
+subsequent rollovers, foo-1.log is deleted, foo-2.log is renamed to
+foo-1.log, foo-3.log is renamed to foo-2.log and foo.log is renamed to
+foo-3.log. A new foo.log file is created and starts being written to.
 |=======================================================================
 
-By way of contrast, when the fileIndex attribute is set to "max" but all
-the other settings are the same the following actions will be performed.
+By way of contrast, when the fileIndex attribute is set to "min" but all
+the other settings are the same the "fixed window" strategy will be 
+performed.
 
 [cols=",,,",options="header",]
 |=======================================================================
@@ -2791,18 +2790,19 @@ the other settings are the same the following actions will be performed.
 |1 |foo.log |foo-1.log |During the first rollover foo.log is renamed to
 foo-1.log. A new foo.log file is created and starts being written to.
 
-|2 |foo.log |foo-2.log, foo-1.log |During the second rollover foo.log is
-renamed to foo-2.log. A new foo.log file is created and starts being
-written to.
+|2 |foo.log |foo-1.log, foo-2.log |During the second rollover foo-1.log
+is renamed to foo-2.log and foo.log is renamed to foo-1.log. A new
+foo.log file is created and starts being written to.
 
-|3 |foo.log |foo-3.log, foo-2.log, foo-1.log |During the third rollover
-foo.log is renamed to foo-3.log. A new foo.log file is created and
+|3 |foo.log |foo-1.log, foo-2.log, foo-3.log |During the third rollover
+foo-2.log is renamed to foo-3.log, foo-1.log is renamed to foo-2.log and
+foo.log is renamed to foo-1.log. A new foo.log file is created and
 starts being written to.
 
-|4 |foo.log |foo-3.log, foo-2.log, foo-1.log |In the fourth and
-subsequent rollovers, foo-1.log is deleted, foo-2.log is renamed to
-foo-1.log, foo-3.log is renamed to foo-2.log and foo.log is renamed to
-foo-3.log. A new foo.log file is created and starts being written to.
+|4 |foo.log |foo-1.log, foo-2.log, foo-3.log |In the fourth and
+subsequent rollovers, foo-3.log is deleted, foo-2.log is renamed to
+foo-3.log, foo-1.log is renamed to foo-2.log and foo.log is renamed to
+foo-1.log. A new foo.log file is created and starts being written to.
 |=======================================================================
 
 Finally, as of release 2.8, if the fileIndex attribute is set to "nomax"