| Customize web access log files Is this possible? |
smallcompany

msg:4098344 | 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. Thanks P.S. 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.
|
phranque

msg:4098783 | 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].
|
smallcompany

msg:4099018 | 8:04 pm on Mar 16, 2010 (gmt 0) | Thanks! Heck, I asked a related question about logging in Apache thread, but had no reply: [webmasterworld.com...] 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. Thanks again.
|
|
|