Limiting the error_log

This is a discussion on Limiting the error_log within the Apache Web Server forums, part of the Web Server and Related Forums category; Is there any way to stop 404 errors being logged in the error_log file on Apache? Basically I'm generating ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2005
badger
 
Posts: n/a
Default Limiting the error_log

Is there any way to stop 404 errors being logged in the error_log file
on Apache?

Basically I'm generating a deliberate 404 error, and using a .htaccess
file and a request_url to redirect the request to a specific file
(don't ask why ... it's related to Mac computers and image files!). I
just don't want these 404 errors filling up my Apache error_log.

These are really the only errors that I don't want logged, is there any
way of doing this?

Thanks for your help.

  #2 (permalink)  
Old 03-04-2005
badger
 
Posts: n/a
Default Re: Limiting the error_log

Thanks for your reply ... however it doesn't seem to help. I have
looked at the documentation and with regards to the error_log, it says:
"It is not possible to customize the error log by adding or removing
information"
Conditional logging works with the access_log, not the error_log
(according to the documentation),
So, any other thoughts on preventing 404 errors being logged in the
error_log?

  #3 (permalink)  
Old 03-04-2005
badger
 
Posts: n/a
Default Re: Limiting the error_log

Thanks for that - you are right, this looks like the approach we should
take. I had looked at the documentation (which is where I got the quote
"It is not possible to customize the error log by adding or removing
information") - and because I believed that I didn't think that you
could in fact use a pipe to customize the error log.

I'll give it a try, and thanks again for your help.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0