diff options
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index dbcea64735..b48fe9b4a9 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -105,7 +105,7 @@ class RegexFormat(object): def __init__(self, name, regex, date_format='%d/%b/%Y:%H:%M:%S'): self.name = name - self.regex = re.compile(regex) + self.regex = re.compile(regex + '\s*$') # make sure regex includes end of line self.date_format = date_format def check_format(self, file): |