Skip to content

Commit

Permalink
Clarify logging rotation docs a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Nov 7, 2024
1 parent 5810fca commit dd2201e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ interface FileConfig {
interface RotationConfig {
/**
* The maximum log file size, after which a rotation is executed.
* Note that the file is rotated <em>after</em> the log record is written.
* Thus, this isn't a hard maximum on the file size; rather, it's a hard <em>minimum</em>
* on the size of the file before it is rotated.
*/
@WithDefault("10M")
@WithConverter(MemorySizeConverter.class)
Expand Down

0 comments on commit dd2201e

Please sign in to comment.