We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daed75d commit f17e817Copy full SHA for f17e817
tracing-appender/src/rolling/builder.rs
@@ -248,7 +248,7 @@ impl Builder {
248
/// # fn docs() {
249
/// let appender = RollingFileAppender::builder()
250
/// .rotation(Rotation::SIZE) // rotate log files when they reach a certain size
251
- /// .max_file_size(1024) // only the most recent 5 log files will be kept
+ /// .max_file_size(1024) // will roll over once file reaches 1024 bytes
252
/// // ...
253
/// .build("/var/log")
254
/// .expect("failed to initialize rolling file appender");
0 commit comments