diff options
author | Yaron Yogev <yaronyogev@gmail.com> | 2017-08-03 12:15:51 +0300 |
---|---|---|
committer | Yaron Yogev <yaronyogev@gmail.com> | 2017-08-03 12:15:51 +0300 |
commit | 17f4e08fd576b04363d331e5229c7c728b3759e8 (patch) | |
tree | 403c2b6478097bb082a2789d591d16d56ab8b8fa /app/discover/events | |
parent | 8446af2bbe4c5c10ab0bc4a34bee2fe67914b0cc (diff) |
remove unneeded debug keeping of event data
Change-Id: I591a2edf7ba9dec2912b9f42a5b6bf17542bd519
Signed-off-by: Yaron Yogev <yaronyogev@gmail.com>
Diffstat (limited to 'app/discover/events')
-rwxr-xr-x | app/discover/events/listeners/default_listener.py | 2 |
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()) |