Commit fd46431b authored by Romain Courteaud's avatar Romain Courteaud

Use zLOG level name instead of hardcoded number.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8367 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ade1d157
......@@ -29,7 +29,7 @@ from Shared.DC.ZRDB.TM import TM
from DateTime import DateTime
from Products.PluginIndexes.common.randid import randid
from Acquisition import aq_parent, aq_inner, aq_base, aq_self
from zLOG import LOG, WARNING, INFO, TRACE
from zLOG import LOG, WARNING, INFO, TRACE, DEBUG
from ZODB.POSException import ConflictError
from DocumentTemplate.DT_Var import sql_quote
......@@ -1150,7 +1150,7 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
# Alter/Create row
try:
#start_time = DateTime()
#LOG('catalogObjectList', 0, 'kw = %r, method_name = %r' % (kw, method_name))
#LOG('catalogObjectList', DEBUG, 'kw = %r, method_name = %r' % (kw, method_name))
method(**kw)
#end_time = DateTime()
#if method_name not in profile_dict:
......
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