SYNOPSIS

DESCRIPTION

This creates the files /path/to/logs/access.log.nnnn where
nnnn is the system time at which the log nominally starts
(this time will always be a multiple of the rotation time,
so you can synchronize cron scripts with it). At the end of
each rotation time (here after 24 hours) a new log is
started.

OPTIONS

logfile

The path plus basename of the logfile. If logfile
includes any % characters, it is treated as a format
string for strftime(3). Otherwise, the suffix .nnnn
is automatically added and is the time at which the logfile
was created.

rotationtime

The rotation time in seconds.

offset

The number of minutes offset from UTC. If omitted, zero is
assumed and UTC is used. For example, to use local time in
the zone UTC -5 hours, specify a value of -300 for
this argument.

Please note that any user can change the contents of pages on this site,
and therefore the Waikato Linux Users Group can offer no assurances that
the information is correct, and the information on this site is not
necessarily the opinion of the Waikato Linux Users Group, or any of its
members. If you have any complaints about the contents of this page,
please do not hesitate to contact the Waikato Linux Users Group, or, click
the Edit button!

Unless otherwise noted, all pages on this site are licensed under the
WlugWikiLicense.