>I'm trying to generate some logs with analog. I get an error message
>saying
[snippage]
>My httpd.conf contains the following lines to do with LogFormat :
>
>LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
>LogFormat "%h %l %u %t \"%r\" %>s %b" common
>LogFormat "%{Referer}i -> %U" referer
>LogFormat "%{User-agent}i" agent
Yes it does... what's happening there is Apache is "defining" certain log formats.
Almost immediately thereafter should be another line:
CustomLog /var/log/httpd/access_log common
It may also read "combined" at the end, which is the one you want if you're looking
for Browser and Referrer data. What's going on here is a two-stage process: Define the
kinds of logs available, and assign one of those kinds to a specific log file.
You don't need a LOGFORMAT line in analog.cfg, Analog picks right up on the Apache
common and combined formats automagically.
Karel P Kerezman
Network Administrator
Entercom Radio Portland
KGON KKSN-AM/FM KNRK KFXX KRSK
Visit the Lab: http://washuu.kgon.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GO d- s: a- C++ UL P+ L++++ E---- W++ N+++ o-- K- w---
O M V-- PS+ PE Y+ PGP t 5++ X-- R tv+ b+++ DI++ D++
G e h---- r+++ y++++
------END GEEK CODE BLOCK------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------