Solved

How do I keep certain pages from being logged when accessed?

Posted on 2004-10-12
3
161 Views
Last Modified: 2010-03-04
How do I keep certain pages from being logged when accessed?  I have a couple of pages that get accessed a lot and I don't need to fill the log file with that information.
0
Comment
Question by:kareed
3 Comments
 
LVL 15

Expert Comment

by:periwinkle
ID: 12288949
I don't believe that there is a way for that to occur;  you could have a script that re-wrote the log file after the log rotated out without the information, but I'm not aware of a way to selectively log accesses.
0
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 12300043
hi kareed,

Take a look at Apache docs on mod_log_config : http://httpd.apache.org/docs-2.0/mod/mod_log_config.html

Specifically CustomLog directive  : http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#customlog

This should give you a basic idea on how "selective logging" could be implemented.

Some other links that I found very interesting.

http://www.macosxhints.com/article.php?story=20030317133345352
http://forums.devshed.com/t30016/s.html?highlight=upgrading+computer,+would+like+some+thoughts+on+hardware

cheers.
0
 

Author Comment

by:kareed
ID: 12366441
Thanks, this seems to be what I was looking for.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question