Skip to content

Commit

Permalink
Merge pull request #42069 from mabartos/QKS-42068
Browse files Browse the repository at this point in the history
Clarify allowed suffix for the log rotation
  • Loading branch information
gsmet committed Jul 23, 2024
2 parents 1c81a17 + 7c39bb3 commit 70d4c12
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.io.File;
import java.nio.charset.Charset;
import java.time.format.DateTimeFormatter;
import java.util.Optional;
import java.util.logging.Level;

Expand Down Expand Up @@ -84,6 +85,8 @@ public static class RotationConfig {
* The file handler rotation file suffix.
* When used, the file will be rotated based on its suffix.
* <p>
* The suffix must be in a date-time format that is understood by {@link DateTimeFormatter}.
* <p>
* Example fileSuffix: .yyyy-MM-dd
* <p>
* Note: If the suffix ends with .zip or .gz, the rotation file will also be compressed.
Expand Down

0 comments on commit 70d4c12

Please sign in to comment.