Skip to content

Commit

Permalink
Merge pull request #55 from Siecje/send_log_line
Browse files Browse the repository at this point in the history
Send entire log line to Sentry
  • Loading branch information
mdgart authored Feb 24, 2022
2 parents a8f9ae2 + c6aa317 commit 139ac6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sentrylogs/parsers/nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def parse(self, line):
print(line, file=sys.stderr)
sys.stderr.flush()

# Send entire log line to Sentry
self.data["log"] = line

csv_list = line.split(",")

regex = re.match(self.pattern, csv_list.pop(0))
Expand Down

0 comments on commit 139ac6f

Please sign in to comment.