[thelist] more fun with AWStats and Apache logs

John DeStefano john.destefano at gmail.com
Mon Jun 16 10:05:42 CDT 2008


Eduardo Kienetz wrote:
> On Fri, Jun 13, 2008 at 9:18 AM, John DeStefano
> <john.destefano at gmail.com> wrote:
>> Eduardo Kienetz wrote:
>>>
>>> Check for extra LogFormat's later on in your file which might be
>>> overriding the default one (which I sent), which is the right one to
>>> use.
>>> Also, make sure there are no extra CustomLog turning back to common
>>> instead of Combined.
>>
>> Here's my entire Apache log section as it stands now; no other  
>> LogFormat
>> definitions:
>> LogLevel debug
>> #warn
>> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User- 
>> Agent}i\""
>> combined
>> #LogFormat "%h %l %u %t \"%r\" %>s %b" common
>> # LogFormat "%h %l %u %t \"%r\" %s %b" common
>> # LogFormat "%{Referer}i -> %U" referer
>> # LogFormat "%{User-agent}i" agent
>> # CustomLog /home/sm/monitor/httpd/logs/access_log common
>> CustomLog /home/sm/monitor/httpd/logs/access_log combined
>> # ErrorLog /home/sm/monitor/httpd/logs/error_log
>>
>> And here is the log section from awstats.mysite.conf:
>
> And what's the LogType in awstats.mysite.conf ?
> How about the LogSeparator ?


LogType=W
LogSeparator=" "



More information about the thelist mailing list