From 17f4e08fd576b04363d331e5229c7c728b3759e8 Mon Sep 17 00:00:00 2001 From: Yaron Yogev Date: Thu, 3 Aug 2017 12:15:51 +0300 Subject: remove unneeded debug keeping of event data Change-Id: I591a2edf7ba9dec2912b9f42a5b6bf17542bd519 Signed-off-by: Yaron Yogev --- app/discover/events/listeners/default_listener.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'app') 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()) -- cgit 1.2.3-korg