From 329e55e358edd0f142135ce8e41232bbe932bc50 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 13 Jun 2019 22:52:10 +0000 Subject: [PATCH] Fix parsing for multiline Lambda events logged via logging module --- index.py | 4 ++-- tests/test_parse.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.py b/index.py index 1b1a8bf..6320453 100644 --- a/index.py +++ b/index.py @@ -17,7 +17,7 @@ import boto3 __author__ = "Stefan Reimer" __author_email__ = "stefan@zero-downtime.net" -__version__ = "0.9.1" +__version__ = "0.9.2" # Global alias lookup cache account_aliases = {} @@ -229,7 +229,7 @@ def handler(event, context): # "[%(levelname)s]\t%(asctime)s.%(msecs)dZ\t%(aws_request_id)s\t%(message)s\n" _msg = e['message'] pattern = r'(?:\[(?P[^\]]*)\])\t(?P