Re: Excluding String from access log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 9, 2009 at 4:49 PM, Mohit Anchlia<mohitanchlia@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux