From 5cc1f5f0b2be9b299eb99368f872a0de1c047225 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 19 Jan 2023 16:29:34 +0000 Subject: [PATCH] eddn-report: Handle expanded logging format --- scripts/eddn-report-log-errors | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors index 62e3683..4f4cbd9 100755 --- a/scripts/eddn-report-log-errors +++ b/scripts/eddn-report-log-errors @@ -42,7 +42,13 @@ def process_file(input_file: str) -> None: r' "(?P[^"]*)",' r' "(?P[^"]*)",' r' "(?P[^"]*)",' - r' "(?P[^"]*)"\)' + r' "(?P[^"]*)",' + r' "(?P[^"]*)",' + r' "(?P[^"]*)",' + r' "(?P[^"]*)",' + r' "(?P[^"]*)",' + r' "(?P[^"]*)",' + r' "(?P[^"]*)"\)' r' from (?P.+)$' ) # TODO: Make this handle gzipped files @@ -59,6 +65,12 @@ def process_file(input_file: str) -> None: # print(matches.group('software_version')) # print(matches.group('schema_ref')) # print(matches.group('journal_event')) + # print(matches.group('game_version')) + # print(matches.group('game_build')) + # print(matches.group('system_name')) + # print(matches.group('system_address')) + # print(matches.group('station_name')) + # print(matches.group('station_marketid')) # print(matches.group('sender_ip')) # print('')