Usability, size modifiers to log rotate: 100k:5, 1G:3, and 100M:5

This applies to both the command line '-b SIZE' option and the
optional per log file setting.  Modifiers supported are: k, M, G

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2018-09-25 17:14:10 +02:00
parent 98f6f3ae3d
commit ea24aa5378
3 changed files with 49 additions and 8 deletions

View File

@@ -116,6 +116,9 @@ per log file, see
.BR syslog.conf (5)
for details.
The size argument takes optional modifiers; k, M, G. E.g., 100M is
100MB, 42k is 42 kB, etc.
Default: disabled (0).
.TP
.BI "\-c " "count"