Commit cfda71ac authored by Yoshinori Okuji's avatar Yoshinori Okuji

Use TRACE instead of INFO for the migration message, otherwise there are too...

Use TRACE instead of INFO for the migration message, otherwise there are too many messages emitted to the log.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39421 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4814e404
......@@ -93,7 +93,7 @@ from Products.ERP5Type.Accessor.Constant import PropertyGetter as \
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment