version 2, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SYSLOGD-LISTFILES |
|
|
2 |
!!!SYSLOGD-LISTFILES |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
syslogd-listfiles - list system logfiles |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__syslogd-listfiles__ [[ __-a__ | __--all__ ] [[ |
|
|
17 |
__--auth__ ] [[ __-f__ ''config file'' ] [[ __-s__ |
|
|
18 |
''pattern'' ] [[ __--large__ ''nnn'' ] [[ |
|
|
19 |
__--news__ ] [[ __-w__ | __--weekly__ ] |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
__Sysklogd__ provides a modern mechanism to log system |
|
|
24 |
messages. This mechanism is controlled by the file |
|
|
25 |
''/etc/syslog.conf''. Messages are divided into logfiles |
|
|
26 |
which can grow quite big. Therefore the logfiles need to be |
|
|
27 |
rotated once per day, per week or per month. On a Debian |
|
|
28 |
GNU/Linux system most of the files are rotated once per |
|
|
29 |
week. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
This program helps the rotation script to determine which |
|
|
33 |
logfiles need to be rotated and when. It takes care of news |
|
|
34 |
logfiles that are handled by the __news.daily__ script |
|
|
35 |
from INN. In conjunction with the scripts in |
|
|
36 |
''/etc/cron.daily'' and ''/etc/cron.weekly'' it takes |
|
|
37 |
care of files with sensitive information. |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
By default a list of files for daily rotation is generated. |
|
|
41 |
At the moment this option only reflects entries that contain |
|
|
42 |
!!OPTIONS |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
__-a__, __--all__ |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
List all logfiles and ignore all other rules. |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
__-f__ ''config file'' |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
Specify an alternative configuration file instead of |
|
|
55 |
''/etc/syslog.conf'', which is the default. |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
__-s__ ''pattern'' |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Specify a regular expression for files that must not be |
|
|
62 |
listed. |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
__--auth__ |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
Only list files containing sensitive information such as the |
|
|
69 |
one containing auth.*. |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
__--large__ ''nnn'' |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Define the filesize for a large file. The size is provided |
|
|
76 |
in bytes. This value defaults to 10 megabytes. |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
__--ignore-size__ |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
Don't rotate files whose file size is larger than the |
|
|
83 |
regular limit (see above). This option is useful if you are |
|
|
84 |
postprocessing logfiles which would break if log files are |
|
|
85 |
rotated at a different date/time. |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
__--news__ |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
Don't exclude news logfiles which are normally handled by |
|
|
92 |
the __news.daily__ script from INN. |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
__-w__, __--weekly__ |
|
|
96 |
|
|
|
97 |
|
|
|
98 |
Generate the list for weekly rotation. |
|
|
99 |
!!SEE ALSO |
|
|
100 |
|
|
|
101 |
|
2 |
perry |
102 |
syslog.conf(5), syslogd(8), |
1 |
perry |
103 |
savelog(8). |
|
|
104 |
---- |