diff --git a/scripts/apache-log-rate b/scripts/apache-log-rate index 65ac301..5e63280 100755 --- a/scripts/apache-log-rate +++ b/scripts/apache-log-rate @@ -25,12 +25,15 @@ def process_log_file( print(f'With:\n\tinput_file: "{input_file}"\n\trequest_text: "{request_text}"') with fileinput.FileInput(files=(input_file)) as f: apache_re = re.compile(r'^(?P[.:0-9a-fA-F]{3,39}) - - \[(?P[^\]]+)\] (?P.*' + request_text + '.*)$') + print(f'Apache RE:\n{apache_re}\n') apache_datetime_re = re.compile( r'^(?P[0-9]{2})/(?P[^/]{3})/(?P[0-9]{4}):(?P