diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-12-09 06:23:20 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-12-09 06:24:19 +0400 |
commit | 3572ef7f261d36171f62b91d8de8b91dc300aa25 (patch) | |
tree | 365d0550fde1e78581e9f7b7b8c38108bf286595 /tests | |
parent | d845946a18721165f327b6a8cde8af08cecd802e (diff) |
Fixes #4353, quick fix for parsing invalid log lines at the top of the file in the log import script: try first 1000 lines before giving up entirely.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/resources/access-logs/fake_logs.log | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/resources/access-logs/fake_logs.log b/tests/resources/access-logs/fake_logs.log index f267faf2ee..23de62cd7f 100644 --- a/tests/resources/access-logs/fake_logs.log +++ b/tests/resources/access-logs/fake_logs.log @@ -1,3 +1,4 @@ +70.117.169.113 - - [26/Nov/2013:01:41:01 -0500] "\x80w\x01\x03\x01" 400 226 "-" "-" 175.41.192.40 - - [09/Aug/2012:10:10:38 +0200] "GET http://piwik.net/blog/category/meta/ HTTP/1.1" 200 3574 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) RockMelt/0.9.58.494 Chrome/11.0.696.71 Safari/534.24" 175.41.192.40 - - [09/Aug/2012:10:11:30 +0200] "GET http://piwik.net/faq/ HTTP/1.1" 200 3574 "-" "Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1" 175.41.192.40 - - [09/Aug/2012:10:11:56 +0200] "GET /blog/category/community/ HTTP/1.1" 200 3574 "-" "Mozilla/5.0 (X11; U; Linux x86_64; ca-ad) AppleWebKit/531.2+ (KHTML, like Gecko) Safari/531.2+ Epiphany/2.30.6" |