changeset 201:5d988b32723e

Improve logging by adding the project.id for the current loaded entries
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:31:42 +0200
parents 2987c6991005
children 3ed024299214
files getan/controller.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/controller.py	Fri Apr 05 19:30:58 2013 +0200
+++ b/getan/controller.py	Fri Apr 05 19:31:42 2013 +0200
@@ -65,7 +65,8 @@
         return (projects, entries)
 
     def update_entries(self, project):
-        logger.debug("GetanController: update entries.")
+        logger.debug("GetanController: update entries for project %s." % \
+                project.id)
         if project:
             entries = self.backend.load_entries(project.id)
         else:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)