From b9e27a4cbf30c955f19afbdaba6b31e1dd0744f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 11 Nov 2016 08:40:49 +0100 Subject: [PATCH] Quote activity verb in log --- pillar/api/activities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/api/activities.py b/pillar/api/activities.py index 5496c152..5bc7c910 100644 --- a/pillar/api/activities.py +++ b/pillar/api/activities.py @@ -199,7 +199,7 @@ def register_activity(actor_user_id, verb, object_type, object_id, log.error('register_activity: code %i creating activity %s: %s', status_code, activity, info) else: - log.info('register_activity: user %s %s on %s %s, context %s %s', + log.info('register_activity: user %s "%s" on %s %s, context %s %s', actor_user_id, verb, object_type, object_id, context_object_type, context_object_id) return info, status_code