> CustomLog logs/access_log combined env=!status_is_404
>
I'm not entirely sure about what the rules on adding new conf options are...
but,
what about using the logformat rules, and saying something like:
LogStatus "<combination of status codes, with ! used to not log them>"
logname (eg, combined).
This would also support the wildcard, so if it didn't know what to do for
that status (ie, that status was not in the list) it would perform the
default action.
If the user didn't express a log format, then the default would be :
LogStatus "*" combined
thus, to not log any status but 404 (ie, for a broken link log)
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
brokenlinks
LogStatus "404, !*" brokenlinks
CustomLog /var/log/httpd/brokenlinks_log brokenlinks
i might be interested in having a crack at this.
-- James