Welcome to WebmasterWorld Guest from 54.227.52.24

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

     

Willis

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

10+ Year Member



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?

coopster

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

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



Are you familiar with Conditional Logs [httpd.apache.org]?

Willis

4:04 am on Jun 14, 2004 (gmt 0)

10+ Year Member



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

lemat

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

10+ Year Member



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month