linux:commserv:squid:lightsquid

your access.log look slightly different from standart. may be you use CUSTOM log record. at and of standart record in you log you has addition field look like:

[User-Agent: TMhtload/1.32.00.1008\r\nAccept: */*\r\nHost: cm-t.activeupdate.trendmi

you have 2 way to fix this problem:
1) use standart log format
2) slightly modification lightparser.pl:

find in lightparser.pl
     #check row with invalid record
     if ($#Lrest >= 0) {

and comment one line and add one new.
     #check row with invalid record
#       if ($#Lrest >= 0) {
       if (0) {


Sergey Erokhin lightsquid@gmail.com

← index

  • linux/commserv/squid/lightsquid.txt
  • Zuletzt geändert: 2014-08-15 20:45
  • von 127.0.0.1