[Erp5-report] r39421 yo - /erp5/trunk/products/ERP5Type/Utils.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 21 10:09:06 CEST 2010


Author: yo
Date: Thu Oct 21 10:09:05 2010
New Revision: 39421

URL: http://svn.erp5.org?rev=39421&view=rev
Log:
Use TRACE instead of INFO for the migration message, otherwise there are too many messages emitted to the log.

Modified:
    erp5/trunk/products/ERP5Type/Utils.py

Modified: erp5/trunk/products/ERP5Type/Utils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Utils.py?rev=39421&r1=39420&r2=39421&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Utils.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Utils.py [utf8] Thu Oct 21 10:09:05 2010
@@ -93,7 +93,7 @@ from Products.ERP5Type.Accessor.Constant
 from Products.ERP5Type.Accessor.Constant import Getter as ConstantGetter
 from Products.ERP5Type.Cache import getReadOnlyTransactionCache
 from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
-from zLOG import LOG, BLATHER, PROBLEM, WARNING, INFO
+from zLOG import LOG, BLATHER, PROBLEM, WARNING, INFO, TRACE
 
 #####################################################
 # Avoid importing from (possibly unpatched) Globals
@@ -912,7 +912,7 @@ class PersistentMigrationMixin(object):
       klass = getattr(erp5.portal_type, portal_type)
       self.__class__ = klass
       self.__setstate__(value)
-      LOG('ERP5Type', INFO, "Migration for object %s" % self)
+      LOG('ERP5Type', TRACE, "Migration for object %s" % self)
 
 from Globals import Persistent, PersistentMapping
 




More information about the Erp5-report mailing list