Annotated edit history of
exicyclog(8) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
exicyclog |
|
|
2 |
!!!exicyclog |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
AUTHOR |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
exicyclog - program to cycle exim logs |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__exicyclog__ |
|
|
17 |
!!DESCRIPTION |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
The exicyclog script cycles the main and reject log files. |
|
|
21 |
Each time it is run the files get 'shuffled down' by one. |
|
|
22 |
The mainlog file becomes mainlog.1, the previous mainlog.1 |
|
|
23 |
becomes mainlog.2 and so on, up to a limit which is set in |
|
|
24 |
the script, and which defaults to 10. However, if no mainlog |
|
|
25 |
file exists, the script does nothing. Reject logs are |
|
|
26 |
handled similarly. Files that 'drop off' the end are |
|
|
27 |
deleted. All files with numbers greater than 1 are |
|
|
28 |
compressed, using a compression command which is configured |
|
|
29 |
in the script. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
It is usual to run exicyclog daily from a crontab entry of |
|
|
33 |
the form |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
1 0 * * * /usr/sbin/exicyclog |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
In this way, each day's log is (mostly) in a separate file. |
|
|
40 |
There will be some overlap from processes that have the log |
|
|
41 |
open at the time of renaming. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
The exicyclog script can be run as the Exim user when one is |
|
|
45 |
defined, as the log files will be owned by that user in that |
|
|
46 |
case. Otherwise it has to be run as root. |
|
|
47 |
!!SEE ALSO |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
There is extensive documentation available in |
|
|
51 |
''/usr/share/doc/exim'' and in the info system regarding |
|
|
52 |
exim. Please be sure to have the __exim-doc__ package |
|
|
53 |
installed. |
|
|
54 |
!!AUTHOR |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
This manual page was stitched together by Christoph Lameter |
|
|
58 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.