Skip to content

Commit f17e817

Browse files
committed
appender: fix comment
1 parent daed75d commit f17e817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-appender/src/rolling/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl Builder {
248248
/// # fn docs() {
249249
/// let appender = RollingFileAppender::builder()
250250
/// .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
251+
/// .max_file_size(1024) // will roll over once file reaches 1024 bytes
252252
/// // ...
253253
/// .build("/var/log")
254254
/// .expect("failed to initialize rolling file appender");

0 commit comments

Comments
 (0)