From f12dbd431ac1621600dc5e801d2ee2c07fdd2450 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 12 Feb 2013 22:26:30 +0100 Subject: [PATCH] Don't remove invocation from the result in the log callback Fixes #2064. --- plugins/callbacks/log_plays.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/callbacks/log_plays.py b/plugins/callbacks/log_plays.py index 3931b3411b..dac79b27d3 100644 --- a/plugins/callbacks/log_plays.py +++ b/plugins/callbacks/log_plays.py @@ -31,6 +31,7 @@ def log(host, category, data): # avoid logging extraneous data from facts data = 'omitted' else: + data = data.copy() invocation = data.pop('invocation', None) data = json.dumps(data) if invocation is not None: