|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug fixes? [--debug and -P]
There are several bugs in the posted version of cronolog. E-mails, as per
the web site, to Andrew Ford <A.Ford@xxxxxxxxxxxxxxxx> have gone unanswered,
so I'm hoping that the list is active.
One bug is that the "debug" option is missing from the long_options array,
causing cronolog (and apache) to hang when attempting to log with that
option. Adding an entry to the array should resolve that problem:
{ "debug", required_argument, NULL, 'x' },
Another bug has to do with the -P handling. A quick read of the code
suggests that at least one of the defects is that if httpd restarts during
the period, the log rotates "in place". That is generally fine, except
that the -P symlink is unconditionally overwritten with the value of the
current symlink.
Has anyone fixed these issues already? If so, from where is the code
available? If not, to where should fixes be submitted? The license is now
an ASF license, but I don't see cronolog anywhere in the httpd CVS
repositories.
--- Noel
|