| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|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)|
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.
| 8:32 pm on Jun 9, 2004 (gmt 0)|
Are you familiar with Conditional Logs [httpd.apache.org]?
| 4:04 am on Jun 14, 2004 (gmt 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 Jun 14, 2004 (gmt 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
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved