From 8b37629702a30dba1c44bad560603b51095b4910 Mon Sep 17 00:00:00 2001
From: Jorrit Schaap <schaap@astron.nl>
Date: Tue, 12 Apr 2016 14:49:16 +0000
Subject: [PATCH] Task #8887: logging

---
 SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py b/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py
index 367e1bef582..873d220a179 100755
--- a/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py
+++ b/SAS/ResourceAssignment/ResourceAssigner/lib/assignment.py
@@ -120,7 +120,8 @@ class ResourceAssigner():
 
         # insert new task and specification in the radb
         # any existing specification and task with same otdb_id will be deleted automatically
-        logger.info('doAssignment: insertSpecification startTime=%s endTime=%s' % (startTime, endTime))
+        logger.info('doAssignment: insertSpecification momId=%s, otdb_id=%s, status=%s, taskType=%s, startTime=%s, endTime=%s' %
+                    (momId, otdb_id, status, taskType, startTime, endTime))
         result = self.radbrpc.insertSpecificationAndTask(momId, otdb_id, status, taskType, startTime, endTime, str(mainParset))
 
         if not result['inserted']:
-- 
GitLab