forked from ghewgill/nwr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.1
More file actions
26 lines (25 loc) · 612 Bytes
/
log.1
File metadata and controls
26 lines (25 loc) · 612 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.TH log 1 "March 2003"
.SH NAME
log \- write a stream to a rotating log file
.SH SYNOPSIS
.B log
.I dir
.SH DESCRIPTION
.B log
reads a stream from its stdin,
and writes the stream to a file in the specified
.IR dir .
Every hour, the current log file is closed,
a new one is opened,
and an older log file is deleted.
.SH OPTIONS
.IP dir
The directory to which the log files will be written.
.SH BUGS
There is no way to change the rotation interval (one hour),
the number of log files that are kept (3),
or the log filenames used (NWR-*.raw).
.SH AUTHOR
Greg Hewgill <greg@hewgill.com>
.br
http://www.hewgill.com