Solved

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

Posted on 2004-10-12
3
162 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

713 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