summaryrefslogtreecommitdiff
path: root/src/saml2/mcache.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2012-06-27 07:50:13 +0200
committerRoland Hedberg <roland.hedberg@adm.umu.se>2012-06-27 07:50:13 +0200
commit2495375de47d0a4bb77aaac91d2ea9421a03bde4 (patch)
tree759721f6b72f4de534f813ff8543077306e255f6 /src/saml2/mcache.py
parentce1eb1502587d1b51fafca4caa36fd3e6c2db98c (diff)
downloadpysaml2-2495375de47d0a4bb77aaac91d2ea9421a03bde4.tar.gz
Changed logging setup
Diffstat (limited to 'src/saml2/mcache.py')
-rw-r--r--src/saml2/mcache.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/saml2/mcache.py b/src/saml2/mcache.py
index a94f06cd..d2c200aa 100644
--- a/src/saml2/mcache.py
+++ b/src/saml2/mcache.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+import logging
import memcache
from saml2 import time_util
@@ -8,6 +9,7 @@ from saml2.cache import ToOld, CacheError
# gathered from several different sources, all with their own
# timeout time.
+logger = logging.getLogger(__name__)
def _key(prefix, name):
return "%s_%s" % (prefix, name)