]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fixed: Pb for %syslog tag when hostname contains number in name.
authoreldy <>
Tue, 1 Apr 2003 19:19:34 +0000 (19:19 +0000)
committereldy <>
Tue, 1 Apr 2003 19:19:34 +0000 (19:19 +0000)
wwwroot/cgi-bin/awstats.pl

index 5c81f921b0da6149637c11c0686fcbb463d2d51a..b48ff9350cfdd7a4257382e92eae2ab5a1205bda 100644 (file)
@@ -4428,7 +4428,7 @@ sub DefinePerlParsingFormat() {
                                $PerlParsingFormat .= "([^$LogSeparatorWithoutStar]+)";
                        }
                        elsif ($f =~ /%syslog$/) {              # Added for syslog time and host stamp, fields are skipped and not analyzed
-                               $PerlParsingFormat .= "[A-Z][a-z][a-z] .[0-9] ..:..:.. [A-Za-z]+";
+                               $PerlParsingFormat .= "\\w\\w\\w \\d+ \\d\\d:\\d\\d:\\d\\d \\w+";
                        }
                        elsif ($f =~ /%email_r$/) {
                                $pos_emailr = $i; $i++; push @fieldlib, 'email_r';