Skip to content

Commit

Permalink
Merge pull request #220 from airbnb/ryandeivert-another-logger-tweak
Browse files Browse the repository at this point in the history
[lambda][rule] logging incoming data after being pre-parsed instead of before
  • Loading branch information
ryandeivert authored Jul 10, 2017
2 parents 1252128 + 455ab99 commit fad53dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_alert/rule_processor/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def _process_alerts(self, classifier, payload, data):
"""
classifier.classify_record(payload, data)
if not payload.valid:
LOGGER.error('Invalid data: %s\n%s', payload, payload.raw_record)
LOGGER.error('Invalid data: %s\n%s', payload, data)
return

alerts = StreamRules.process(payload)
Expand Down

0 comments on commit fad53dc

Please sign in to comment.