diff options
author | fligtar@gmail.com <fligtar@gmail.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2008-12-14 07:21:40 (GMT) |
---|---|---|
committer | fligtar@gmail.com <fligtar@gmail.com@4eb1ac78-321c-0410-a911-ec516a8615a5> | 2008-12-14 07:21:40 (GMT) |
commit | 3f5f9f6ff2f38a8f69d577067bc0d350dbe16055 (patch) | |
tree | 90a6156d66da2dc558ed92760e6e28bad283c12c /bin/parse_logs | |
parent | 04d8c2b6ab2b7b035fb007552e829c376b797640 (diff) |
adding fix for extra space in logfiles
git-svn-id: http://svn.mozilla.org/addons/trunk@20815 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'bin/parse_logs')
-rw-r--r-- | bin/parse_logs/log_parser.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/parse_logs/log_parser.class.php b/bin/parse_logs/log_parser.class.php index dd84b7f..5ad5e36 100644 --- a/bin/parse_logs/log_parser.class.php +++ b/bin/parse_logs/log_parser.class.php @@ -203,7 +203,7 @@ class Log_Parser { return false; // Match line patterns - preg_match("/^(\S+) (\S+) (\S+) \[([^:]+):(\d+:\d+:\d+) ([^\]]+)\] \"(\S+) (.*?) (\S+)\" (\S+) (\S+) (\".*?\") (\".*?\") (\".*?\")$/", $line, $matches); + preg_match("/^(\S+) (\S+) (\S+)\s+\[([^:]+):(\d+:\d+:\d+) ([^\]]+)\] \"(\S+) (.*?) (\S+)\" (\S+) (\S+) (\".*?\") (\".*?\") (\".*?\")$/", $line, $matches); if (empty($matches[0])) { outputIfVerbose("Could not match log entry to pattern: {$line}\n"); |