Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now