aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapp/discover/events/listeners/default_listener.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/discover/events/listeners/default_listener.py b/app/discover/events/listeners/default_listener.py
index 8ebc6cb..54453a7 100755
--- a/app/discover/events/listeners/default_listener.py
+++ b/app/discover/events/listeners/default_listener.py
@@ -98,8 +98,6 @@ class DefaultListener(ListenerBase, ConsumerMixin):
# or it's not intended for env listener to handle,
# leave the message in the queue unless "consume_all" flag is set
if processable and event_data["event_type"] in self.handler.handlers:
- with open("/tmp/listener.log", "a") as f:
- f.write("{}\n".format(event_data))
event_result = self.handle_event(event_data["event_type"],
event_data)
finished_timestamp = stringify_datetime(datetime.datetime.now())