25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Clarify documentation of log_rotate_size option (#3462)

This commit is contained in:
Badlop 2021-01-04 13:04:56 +01:00
parent aefe3f8585
commit b8178c79a7

View File

@ -800,10 +800,11 @@ doc() ->
?T("The number of rotated log files to keep. " ?T("The number of rotated log files to keep. "
"The default value is '1'.")}}, "The default value is '1'.")}},
{log_rotate_size, {log_rotate_size,
#{value => ?T("Size"), #{value => "pos_integer() | infinity",
desc => desc =>
?T("The size (in bytes) of a log file to trigger rotation. " ?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, {max_fsm_queue,
#{value => ?T("Size"), #{value => ?T("Size"),
desc => desc =>