Welcome to WebmasterWorld Guest from 54.167.46.29

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Log Server Activities .. But (maybe) not my own.

Looking for better aproach then the access.log

     
5:50 pm on Jun 9, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 4, 2004
posts:59
votes: 0


I have no idea what aproach I should take, but what I wanna do is log all activites on my server, in such a way that its easy to access and comprehend.

Well that or, when working with the Apache\logs\access.log file, restrict what it logs and does not log? (aka not log my own activities).

I just looked at it for the first time, and its 6.10 MB.

99% of my servers use is by myself, so I really only care about that other 1% when i have other people travel to it.

Feedback?

8:32 pm on June 9, 2004 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


Are you familiar with Conditional Logs [httpd.apache.org]?
4:04 am on June 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 4, 2004
posts:59
votes: 0


No and I'm trying to understand it now . .

What am I supposed to edit to add entrys?

Copy n paste but - if I understand I gotta add something like this? But again, where?:

SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog

5:02 pm on June 14, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 22, 2004
posts:77
votes: 0


something like this in httpd.conf makes apache log in two different files - depends on the IP address.

SetEnvIf Remote_Addr "(^192\.168\.0\.¦^127\.$)" LOCAL=true
CustomLog "/var/log/httpd/access_log" combined env=!LOCAL
CustomLog "/var/log/httpd/access_local_log" combined env=LOCAL

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members