--- a/src/pyams_security/security.py Sat Feb 28 15:28:02 2015 +0100
+++ b/src/pyams_security/security.py Sat Feb 28 15:28:24 2015 +0100
@@ -14,6 +14,7 @@
# import standard library
import logging
+logger = logging.getLogger('PyAMS (security)')
# import interfaces
from pyams_security.interfaces import IProtectedObject, IRole, IPrincipalInfo, GrantedRoleEvent, RevokedRoleEvent, \
@@ -155,8 +156,7 @@
# stop inheritance if required
if not self.inherit_parent_security:
result.append(DENY_ALL)
- logging.getLogger('PyAMS').debug(result)
- print(result)
+ logger.debug('ACL = {0}'.format(str(result)))
return result