Menu

#1 access.log~bz2 fail to parse

open
nobody
parser (1)
5
2007-01-14
2007-01-14
Anonymous
No

lightparser.pl not processing squid 2.6.STABLE5-7 rotated logs.

Corrected lightparser.pl with:
if ($ARGV[0] =~ m/access\.log[\.-](\d)/)

Adding the "[\.-]" regular expression .OR. search to include the "-" which is now part of the squid rotated log file.

Jim

Discussion


Log in to post a comment.