Skip to content

Commit

Permalink
Modify the manual of newsyslog.conf: Add description for size unit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rin0913 committed Nov 3, 2024
1 parent 51e2e6f commit ea38852
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion usr.sbin/newsyslog/newsyslog.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ This does not consider the current log file.
.It Ar size
When the size of the log file reaches
.Ar size
in kilobytes, the log file will be trimmed as described above.
in Kilobyte, or by using any suffix (e.g., K, M, G) supported by
.Xr expanded_number 3 ;
the log file will be trimmed as described above.
If this field contains an asterisk
.Pq Ql * ,
the log file will not be trimmed based on size.
Expand Down Expand Up @@ -438,6 +440,7 @@ entry:
.Xr gzip 1 ,
.Xr xz 1 ,
.Xr zstd 1 ,
.Xr expanded_number 3 ,
.Xr syslog 3 ,
.Xr chown 8 ,
.Xr newsyslog 8 ,
Expand Down

0 comments on commit ea38852

Please sign in to comment.