Skip to content

Commit

Permalink
Fixed client filter bug in logging activity
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed May 17, 2014
1 parent 1ca1771 commit 094e313
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Trakttv.bundle/Contents/Code/pts/activity_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
IGNORE_PATTERNS = [
r'error parsing allowedNetworks.*?',
r'Comparing request from.*?',
r'We found auth token (.*?), enabling token-based authentication.'
r'We found auth token (.*?), enabling token-based authentication\.',
r'Came in with a super-token, authorization succeeded\.'
]

IGNORE_REGEX = Regex(str_format(LOG_PATTERN, message='|'.join('(%s)' % x for x in IGNORE_PATTERNS)))
IGNORE_REGEX = Regex(str_format(LOG_PATTERN, message='(%s)' % ('|'.join('(%s)' % x for x in IGNORE_PATTERNS))))

PARAM_REGEX = Regex(str_format(LOG_PATTERN, message=r' \* (?P<key>.*?) =\> (?P<value>.*?)'))
RANGE_REGEX = Regex(str_format(LOG_PATTERN, message=r'Request range: \d+ to \d+'))
Expand Down

0 comments on commit 094e313

Please sign in to comment.