From 447473303a9c06c0eaf501b001cf1d9f49d51e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 6 Jul 2016 14:12:32 +0200 Subject: [PATCH] sync_project_groups: mention user ID in bad/ok group count Makes it easier to grep & process the output --- pillar/manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pillar/manage.py b/pillar/manage.py index 195ec402..a817ce01 100755 --- a/pillar/manage.py +++ b/pillar/manage.py @@ -992,8 +992,8 @@ def sync_project_groups(user_email, fix): else: ok_groups += 1 - log.info('User was missing %i group memberships; %i projects were ok.', - missing_groups, ok_groups) + log.info('User %s was missing %i group memberships; %i projects were ok.', + user_id, missing_groups, ok_groups) if missing_groups > 0 and fix: log.info('Updating database.')