httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Excluding String from access log
Date Wed, 09 Sep 2009 22:03:39 GMT
On Wed, Sep 9, 2009 at 4:49 PM, Mohit Anchlia<mohitanchlia@gmail.com> wrote:
> I need to exclude below string (as an example) from access log. Is
> there a way I can use CustomLog and do that?
>
> [Wed Sep 09 13:20:47 2009] [info] [client 10.4.1.41] Connection closed
> to child 4 with abortive shutdown (server )
>
> [Wed Sep 09 13:20:47 2009] [info] [client 28.20.40.241] Connection to
> child 1 established (server)
>
> [Wed Sep 09 13:20:47 2009] [info] Seeding PRNG with 136 bytes of entropy


This looks like an ErrorLog.  You could write a simple script to
discard these messages and write your error logs via the piped logging
mechanism, if simply filtering them out during some post-processing
isn't sufficient.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message