| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Log Server Activities .. But (maybe) not my own.|
Looking for better aproach then the access.log
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.
Are you familiar with Conditional Logs [httpd.apache.org]?
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
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.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved