Skip to content

Commit ea728a3

Browse files
committed
add release notes
1 parent 3c16201 commit ea728a3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/release-notes-22350.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
New settings
2+
------------
3+
4+
- Until now, the `debug.log` file grows without bound until the node
5+
is restarted, at which time it is trimmed to 10 MB. Beginning with this
6+
release, log rotation is enabled by default. When the `debug.log` file
7+
reaches 1 MB, it's renamed to a name that includes the current date and
8+
time, such as `debug-2021-06-27T21:19:42Z.log` and `debug.log` is
9+
recreated as an empty file. Running `cat` or `grep` with an argument
10+
`debug*.log` accesses all debug log files, including the current one
11+
(`debug.log`) in time-order. The `-debuglogrotatekeep=n` configuration
12+
option specifies the number of rotated debug log files that are retained
13+
(default 10). If this value is given as zero, log rotation is disabled
14+
(the debug log file is managed as in prior releases). The `-debugloglimit=n`
15+
configuration option specifies how large the `debug.log` file must
16+
become (in MB) before it is rotated (default is 1). If you specify an
17+
alternate debug log file name using `-debuglogfile=path`, the last
18+
component of the path must be `debug.log` or else log rotation won't be
19+
enabled. (#22350)

0 commit comments

Comments
 (0)