Skip to content

Commit

Permalink
Merge pull request #39 from clearcode/master
Browse files Browse the repository at this point in the history
Make sure "noscript" image request is not recorded when logs are replayed
  • Loading branch information
Matthieu Aubry committed Mar 4, 2013
2 parents fe13f7a + fc205d2 commit a2d795e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/log-analytics/import_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,9 @@ def _get_hit_args(self, hit):
'dp': '0' if config.options.reverse_dns else '1',
'ua': hit.user_agent.encode('utf8'),
}
if config.options.replay_tracking:
# prevent request to be force recorded when option replay-tracking
args['rec'] = '0'
args.update(hit.args)

if hit.is_download:
Expand Down

0 comments on commit a2d795e

Please sign in to comment.