Debian Codegraph @

debian/README.Debian

raw
1 Cronolog was originally designed to work with Apache logging modules, and
2 this remains one of it's primary uses. To that end, I have included some
3 example configuration directives for Apache 1.x below (note that some of
4 these are already in place, on default Debian installations of Apache).
5
6
7 # The following directives define some format nicknames for use with
8 # a CustomLog directive (see below).
9
10 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full
11
12 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
13
14 LogFormat "%h %l %u %t \"%r\" %>s %b" common
15
16 LogFormat "%{Referer}i -> %U" referer
17
18 LogFormat "%{User-agent}i" agent
19
20 # The location of the access logfile (Common Logfile Format).
21 # If this does not start with /, ServerRoot is prepended to it.
22 # If it starts with |, the Debian cron scripts will not rotate it.
23
24 CustomLog "|/usr/bin/cronolog /var/log/apache/access.%Y.%m.log" combined