?
Solved

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

Posted on 2004-10-12
3
Medium Priority
?
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

719 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