httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48164] New: add new parameters to rotatelogs
Date Mon, 09 Nov 2009 20:56:38 GMT

           Summary: add new parameters to rotatelogs
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support

Created an attachment (id=24509)
 --> (
patch to add -N <n> parameter to allow rotatelogs uses a fixed current log file

We need to parse the access_log to collect metrics, with rotatelogs, the
current log file name always changes when the rotate happens which makes
parsing program difficult to determine what the current log file is.
Attached patch will add a new parameter -N <n> which will use the base name
only to create the new log file. When the rotate condition is met (either by
size or time), and -N <n> was specified, rotatelogs will move (rename) the old
logs to basename.n, basename.n-1.... and create a new file (not append) using
the base name. Total n history log files will be kept.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message