diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-13 05:33:59 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-13 05:33:59 +0400 |
commit | face33273a22b5b470d938126422adfe7311c399 (patch) | |
tree | 3e331f50811081aea8721c8a8491092bebc52d0d /misc | |
parent | 2c9b91d8b4b05e346c7914dea9c2580f0130afe2 (diff) |
Add log output when line invalid and replaying log
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index 0dc7d67a2e..2198406d3b 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -1664,6 +1664,7 @@ class Parser(object): if config.options.replay_tracking: # we need a query string and we only consider requests with piwik.php if not hit.query_string or not hit.path.lower().endswith('piwik.php'): + invalid_line(line, 'no query string, or ' + hit.path.lower() + ' does not end with piwik.php') continue query_arguments = urlparse.parse_qs(hit.query_string) |