From 703cbce5e58810ef7ca976af0176b4361de058f1 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Sun, 30 Mar 2008 16:43:18 +0000
Subject: [PATCH] add log levels

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20214 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/ScribusUtils.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5Form/ScribusUtils.py b/product/ERP5Form/ScribusUtils.py
index ef7a19075b..6493c7f5f3 100644
--- a/product/ERP5Form/ScribusUtils.py
+++ b/product/ERP5Form/ScribusUtils.py
@@ -345,14 +345,14 @@ class ManageModule:
           # field_nb is already used by another field. this can appen
           # when there are several pages in the document. In such case
           # the script find automatically the closest available value.
-          LOG('ManageModule', 0, 
+          LOG('ManageModule', ERROR, 
               'can not add %s to dict : %s already used by %s ' % \
               (field_id, field_nb, field_nb_dict[field_nb]))
           field_nb = field_nb + 1
           while field_nb in field_nb_dict.keys():
             # trying next value
             field_nb = field_nb + 1
-        LOG('ManageModule', 0, '  add %s to %s' % (field_id, field_nb))
+        LOG('ManageModule', INFO, '  add %s to %s' % (field_id, field_nb))
         # value is available, no problem to link field_id to this field_nb
         field_nb_dict[field_nb] = field_id
 
@@ -556,7 +556,7 @@ class ManageFiles:
 
               else:
                 TALES = "python: here.getProperty('" + cell_name[3:] +"')"
-            LOG('ManageFiles', 0, '   %s > %s ' % (cell_name, TALES))
+            LOG('ManageFiles', INFO, '   %s > %s ' % (cell_name, TALES))
             c.setCellTALES(cell_name, TALES)
 
   def getPDFFile(self, file_descriptor):
-- 
2.30.9