You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rus Foster <rg...@fsck.me.uk> on 2004/01/27 17:01:13 UTC

[users@httpd] Dropping 404 error_log messages

Hi All,
I've been googling but I've not worked out is there anyway to stop 404's
beening logged. Basically I just want to output 404 messages to
/dev/null. Any ideas? I'm guessing I don't want ErrorDocument

Thanks

Rus

-- 
e: support@vpscolo.com
t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company

---------------------------------------------------------------------
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


Re: [users@httpd] Dropping 404 error_log messages

Posted by Rus Foster <rg...@fsck.me.uk>.
>
> Post-process your log file with "grep -v" or some other fancy tool to
> remove what you don't want.
>
> (If you really need it in real time, you can used piped-logging to send
> the error log through "grep -v".)
>

YEah thats what I was thinking. Just wondered if apache itself had
anything built in

Rus
-- 
e: support@vpscolo.com
t: 1-888-327-6330
www.jvds.com - Root on your own box
www.vpscolo.com - Your next hosting company

---------------------------------------------------------------------
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


Re: [users@httpd] Dropping 404 error_log messages

Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 27 Jan 2004, Rus Foster wrote:

> Hi All,
> I've been googling but I've not worked out is there anyway to stop 404's
> beening logged. Basically I just want to output 404 messages to
> /dev/null. Any ideas? I'm guessing I don't want ErrorDocument

Post-process your log file with "grep -v" or some other fancy tool to
remove what you don't want.

(If you really need it in real time, you can used piped-logging to send
the error log through "grep -v".)

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Dropping 404 error_log messages

Posted by Saqib Ali <sa...@seagate.com>.
Rus,

You can use Custom log to do this. Basically you want to selectively NOT
log requests. Here is a how to do it
http://www.keithjbrown.co.uk/vworks/unix/logs.shtml

Saqib Ali
-------------
http://validate.sf.net <---- DocBook XML -> HTML Convertor


On Tue, 27 Jan 2004, Rus Foster wrote:

> Hi All,
> I've been googling but I've not worked out is there anyway to stop 404's
> beening logged. Basically I just want to output 404 messages to
> /dev/null. Any ideas? I'm guessing I don't want ErrorDocument
>
> Thanks
>
> Rus
>
> --
> e: support@vpscolo.com
> t: 1-888-327-6330
> www.jvds.com - Root on your own box
> www.vpscolo.com - Your next hosting company
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Re: [users@httpd] Dropping 404 error_log messages

Posted by Saqib Ali <sa...@seagate.com>.
Rus,

You can use Custom log to do this. Basically you want to selectively NOT
log requests. Here is a how to do it
http://www.keithjbrown.co.uk/vworks/unix/logs.shtml

Saqib Ali
-------------
http://validate.sf.net <---- DocBook XML -> HTML Convertor


On Tue, 27 Jan 2004, Rus Foster wrote:

> Hi All,
> I've been googling but I've not worked out is there anyway to stop 404's
> beening logged. Basically I just want to output 404 messages to
> /dev/null. Any ideas? I'm guessing I don't want ErrorDocument
>
> Thanks
>
> Rus
>
> --
> e: support@vpscolo.com
> t: 1-888-327-6330
> www.jvds.com - Root on your own box
> www.vpscolo.com - Your next hosting company
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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