On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chen <kaiwang.c...@gmail.com>
wrote:
> Hello,
> 
> 
> Looks like awstats.pl cannot recognize "squid" logformat from
> squid3.1.6, as pointed out by LogFormat in awstats.mysite.conf
> # Possible values: 1,2,3,4 or "your_own_personalized_log_format"
> # 1 - Apache or Lotus Notes/Domino native combined log format (NCSA
> combined/XLF/ELF log format)
> # 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA.
> # 3 - Webstar native log format.
> # 4 - Apache or Squid native common log format (NCSA common/CLF log
format)
> 
> Its capability for customization is also too limited to understand
> logformat directives in squid.conf.documented, such as %tr.
> 
> So any recommendation?

Maybe an apache-format log just for awstats?
 access_log /var/logs/squid-awstats.log common

We used awstats.pl for the wiki.squid-cache.org website under 3.0 and IIRC
early 3.1 releases before the log server sponsorship dropped. The native
'squid' format has not been changed since 2.6. Just the text held in some
fields has been extended.

Amos

Reply via email to