diff --git a/product/PortalTransforms/utils.py b/product/PortalTransforms/utils.py index c2e3e3979fee7241fc3dda6561b88113e8609382..b629cd04795a89af7c2ebc6fbd5a9eb190664137 100644 --- a/product/PortalTransforms/utils.py +++ b/product/PortalTransforms/utils.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """some common utilities """ import logging @@ -12,10 +13,12 @@ class TransformException(Exception): FB_REGISTRY = None # logging function -logger = logging.getLogger('PortalTransforms') +from zLOG import LOG +#logger = logging.getLogger('PortalTransforms') def log(message, severity=logging.INFO): - logger.log(severity, message) + LOG('PortalTransforms', severity, message) + #logger.log(severity, message) # directory where template for the ZMI are located import os.path