André Warnier wrote:
Fred Moyer wrote:
André Warnier wrote:
Thanks for the answer and the above code.
But what about the following ?
http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler
quote
[...]
it simply returns Apache2::Const::DECLINED, letting other log handlers
to do the logging. Though it could return Apache2::Const::OK since all
other log handlers will be run anyway.
Ah right, PerlLogHandler is RUN_ALL - my bad. I remember wanting to do
something similar a while ago and ended up just marking those log
entries so that I could 'grep -v MY_IGNORE' the log and not have to deal
with them.
unquote
as compared to your
And then write your own PerlLogHandler which returns Apache2::Const::OK
(which should tell Apache to skip the log handler phase).
?
Of course I can try it, but if you already know..