| 1 |
\input texinfo @c -*- Texinfo -*- |
| 2 |
@finalout |
| 3 |
@setfilename cronolog.info |
| 4 |
@c |
| 5 |
@c This file documents cronolog - program for rotating web server logs |
| 6 |
@c |
| 7 |
@c Copyright (C) 1997 Ford & Mason Ltd. |
| 8 |
@c |
| 9 |
@c This text may be freely distributed under the terms of the GNU |
| 10 |
@c General Public License. |
| 11 |
@c |
| 12 |
|
| 13 |
@ifinfo |
| 14 |
@format |
| 15 |
START-INFO-DIR-ENTRY |
| 16 |
* Cronolog: (cronolog). A log file rotation program for web servers |
| 17 |
END-INFO-DIR-ENTRY |
| 18 |
@end format |
| 19 |
@end ifinfo |
| 20 |
|
| 21 |
@setchapternewpage odd |
| 22 |
@settitle Cronolog |
| 23 |
@titlepage |
| 24 |
@title Cronolog |
| 25 |
@subtitle A log file rotation program for web servers |
| 26 |
@sp 1 |
| 27 |
@subtitle April 1997 |
| 28 |
@author Andrew Ford |
| 29 |
@page |
| 30 |
|
| 31 |
@tex |
| 32 |
{\parskip=0pt \hfill Ford \& Mason Ltd} |
| 33 |
@end tex |
| 34 |
|
| 35 |
@vskip 0pt plus 1filll |
| 36 |
Copyright @copyright{} 1997 Ford @& Mason Ltd |
| 37 |
|
| 38 |
Permission is granted to make and distribute verbatim copies of |
| 39 |
this manual provided the copyright notice and this permission notice |
| 40 |
are preserved on all copies. |
| 41 |
|
| 42 |
@noindent |
| 43 |
Permission is granted to copy and distribute modified versions of this |
| 44 |
manual under the conditions for verbatim copying, provided also that |
| 45 |
the entire resulting derived work is distributed under the terms of a |
| 46 |
permission notice identical to this one. |
| 47 |
|
| 48 |
Permission is granted to copy and distribute translations of this manual |
| 49 |
into another language, under the above conditions for modified versions. |
| 50 |
@end titlepage |
| 51 |
|
| 52 |
@ifinfo |
| 53 |
Copyright @copyright{} 1997 Ford & Mason Ltd. |
| 54 |
|
| 55 |
Permission is granted to make and distribute verbatim copies of |
| 56 |
this manual provided the copyright notice and this permission notice |
| 57 |
are preserved on all copies. |
| 58 |
|
| 59 |
@ignore |
| 60 |
Permission is granted to process this file through TeX and print the |
| 61 |
results, provided the printed document carries a copying permission |
| 62 |
notice identical to this one except for the removal of this paragraph |
| 63 |
(this paragraph not being relevant to the printed manual). |
| 64 |
@end ignore |
| 65 |
|
| 66 |
Permission is granted to copy and distribute modified versions of this |
| 67 |
manual under the conditions for verbatim copying, provided also that |
| 68 |
the entire resulting derived work is distributed under the terms of a |
| 69 |
permission notice identical to this one. |
| 70 |
|
| 71 |
Permission is granted to copy and distribute translations of this manual |
| 72 |
into another language, under the above conditions for modified versions. |
| 73 |
|
| 74 |
@node Top, Overview, (dir), (dir) |
| 75 |
@top Cronolog |
| 76 |
|
| 77 |
Cronolog is a log file rotation program for web servers. |
| 78 |
|
| 79 |
This file describes version 1.3 of cronolog. |
| 80 |
|
| 81 |
@menu |
| 82 |
* Overview:: What is Cronolog? |
| 83 |
* How Cronolog works:: How Cronolog works |
| 84 |
* Support utilities:: Suport utilities |
| 85 |
* Index:: Index |
| 86 |
@end menu |
| 87 |
@end ifinfo |
| 88 |
|
| 89 |
@iftex |
| 90 |
@raggedbottom |
| 91 |
@end iftex |
| 92 |
|
| 93 |
@node Overview, How Cronolog works, Top, Top |
| 94 |
@chapter What is Cronolog? |
| 95 |
@cindex overview |
| 96 |
|
| 97 |
Cronolog is a log file rotation program for web servers. |
| 98 |
|
| 99 |
@node How Cronolog works, Support utilities, Overview, Top |
| 100 |
@chapter How Cronolog works |
| 101 |
|
| 102 |
When Cronolog starts up it examines the log file template specified on |
| 103 |
the command line and determines the periodicity of the log files, |
| 104 |
i.e. how often the log file should be rotated. It does this by looking |
| 105 |
for date format directives within the template and recording which |
| 106 |
directive specifies the smallest unit of time. |
| 107 |
|
| 108 |
When a log file is opened, Cronolog calculates the earliest time at |
| 109 |
which a new log file should be written. |
| 110 |
|
| 111 |
|
| 112 |
@node Support utilities, Index, How Cronolog works, Top |
| 113 |
@chapter Support utilities |
| 114 |
|
| 115 |
If you have not been rotating your log files or you have used another |
| 116 |
mechanism for rotating log files, you may want to split your existing |
| 117 |
log files according to the template you are using for Cronolog. A |
| 118 |
simple perl script called @code{split-logs-by-timestamp} is provided to |
| 119 |
do just that. |
| 120 |
|
| 121 |
|
| 122 |
@node Index, , Support utilities, Top |
| 123 |
@unnumbered Index |
| 124 |
|
| 125 |
@printindex cp |
| 126 |
|
| 127 |
@contents |
| 128 |
|
| 129 |
@bye |