Verified Commit c28107c2 authored by Martin Petráček's avatar Martin Petráček
Browse files

master: do not log other fake events then 'login'

parent 1f29459c
......@@ -52,6 +52,9 @@ def store_logs(message, client, now, version):
message = message[10:]
(name, passwd, reason, method, host, uri) = (None, None, None, None, None, None)
tp = types[type_idx]
#to reduce database size, we now want only login events
if tp != 'login':
family = families[family_idx]
rem_address = socket.inet_ntop(family['opt'], message[:family['len']])
message = message[family['len']:]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment