Skip to content
Snippets Groups Projects
Commit 37c42206 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Fix connection closed regex

parent 113bf376
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ log_file = 'slapd' ...@@ -13,7 +13,7 @@ log_file = 'slapd'
log_file_path = log_path + log_file log_file_path = log_path + log_file
rgx = dict() rgx = dict()
connections = dict() connections = dict()
rgx['conn'] = re.compile(r'conn=(?P<conn>[0-9]+) .*?=.*? (?P<closed>closed)?') rgx['conn'] = re.compile(r'conn=(?P<conn>[0-9]+)(?P<closed> .*?=.*? closed)?')
def sleep(start_time): def sleep(start_time):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment