[thelist] more fun with AWStats and Apache logs

Eduardo Kienetz eduardok at gmail.com
Fri Jun 13 20:11:40 CDT 2008

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 ?

Eduardo Bacchi Kienetz

More information about the thelist mailing list