Exclude Logging ITem in Apache Error Logs
Is there a way to tell apache not to log certain requests or to exclude certain pages from being logged?
For example, I see some entries in /usr/local/apache/logs/error_log and when tailing they are not really necessary...
[Sat Feb 27 17:42:17 2016] [error] [client 208.115.111.72] File does not exist: /home/mcrestat/public_html/insidez.com/searchresults
Any ideas?
-
You need to customize the apache vhost templates . Please read some tips from here How To Tell Apache To Not Log Certain Requests In Its Access Log 0 -
Hello :) The following document will help if you follow the guide referenced in the previous post: Custom Templates - EasyApache - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
2 comments