Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-10-12
3
Medium Priority
?
169 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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

972 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