| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Customize web access log files|
Is this possible?
| 9:44 pm on Mar 15, 2010 (gmt 0)|
So, if I want to divide activity into multiple log files, just like normally web access is divided from errors, is that possible?
For example, I would like to set conditions where a URL with a certain variable gets written in log1, and other stuff into log2.
This idea has come from a question in other thread where a member asked about dividing organic from PPC traffic.
Forgot to mention that another member already mentioned that "grep" that comes with Linux would be a good choice for automating the work with access logs.
| 2:19 pm on Mar 16, 2010 (gmt 0)|
grep is probably the easiest/best answer.
however it is possible to configure Conditional Logging [httpd.apache.org] using "SetEnvIf Request_URI" [httpd.apache.org].
| 8:04 pm on Mar 16, 2010 (gmt 0)|
Heck, I asked a related question about logging in Apache thread, but had no reply:
I checked the online docs, but did not find specific "talk" about web access logs.
I see that my Apache query was maybe too broad.
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