Skip to content

Commit dd2201e

Browse files
committed
Clarify logging rotation docs a little bit
Fixes quarkusio#44346
1 parent 5810fca commit dd2201e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/runtime/src/main/java/io/quarkus/runtime/logging/LogRuntimeConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ interface FileConfig {
207207
interface RotationConfig {
208208
/**
209209
* The maximum log file size, after which a rotation is executed.
210+
* Note that the file is rotated <em>after</em> the log record is written.
211+
* Thus, this isn't a hard maximum on the file size; rather, it's a hard <em>minimum</em>
212+
* on the size of the file before it is rotated.
210213
*/
211214
@WithDefault("10M")
212215
@WithConverter(MemorySizeConverter.class)

0 commit comments

Comments
 (0)