diff options
author | Badlop <badlop@process-one.net> | 2021-01-04 13:04:56 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-01-04 13:05:28 +0100 |
commit | b8178c79a7f25285a3fb795e96d780b90ef216e1 (patch) | |
tree | e2894e4f162c51c13ad811eb970c4bbd2905b361 /src | |
parent | Document ldap_userjidattr option (diff) |
Clarify documentation of log_rotate_size option (#3462)
Diffstat (limited to 'src')
-rw-r--r-- | src/ejabberd_options_doc.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl index 32f89ded..abae2ecc 100644 --- a/src/ejabberd_options_doc.erl +++ b/src/ejabberd_options_doc.erl @@ -800,10 +800,11 @@ doc() -> ?T("The number of rotated log files to keep. " "The default value is '1'.")}}, {log_rotate_size, - #{value => ?T("Size"), + #{value => "pos_integer() | infinity", desc => ?T("The size (in bytes) of a log file to trigger rotation. " - "The default value is '10485760' (10 Mb).")}}, + "If set to 'infinity', log rotation is disabled. " + "The default value is '10485760' (that is, 10 Mb).")}}, {max_fsm_queue, #{value => ?T("Size"), desc => |