summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-09-30 16:25:06 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-09-30 16:25:06 +0200
commit7aea161f9cccd84c5855e219d014fa5aec5884c3 (patch)
tree5953b172f10de2a000dd2839e8376bebe0bfbcfa
parent14c07fad629d9e007786b98a1ab8f6bbc0e4a85d (diff)
downloadpykolab-7aea161f9cccd84c5855e219d014fa5aec5884c3.tar.gz
Fix debuglevel not set in Conf
-rw-r--r--pykolab/conf/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py
index e9eaad3..7fbfa90 100644
--- a/pykolab/conf/__init__.py
+++ b/pykolab/conf/__init__.py
@@ -417,6 +417,8 @@ class Conf(object):
loglevel = logging.INFO
self.cli_keywords.debuglevel = 0
+ self.debuglevel = self.cli_keywords.debuglevel
+
# Initialize logger
log = pykolab.logger.Logger(loglevel=loglevel, debuglevel=self.cli_keywords.debuglevel, logfile=self.cli_keywords.logfile)