summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/conf/__init__.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/pykolab/conf/__init__.py b/pykolab/conf/__init__.py
index ccb0bfe..a57821a 100644
--- a/pykolab/conf/__init__.py
+++ b/pykolab/conf/__init__.py
@@ -271,7 +271,17 @@ class Conf(object):
dest = "debuglevel",
type = 'int',
default = 0,
- help = _("Set the debugging verbosity. Maximum is 99"))
+ help = _("Set the debugging " + \
+ "verbosity. Maximum is 9, tracing " + \
+ "protocols like LDAP, SQL and IMAP."))
+
+ runtime_group.add_option( "-l",
+ dest = "loglevel",
+ type = 'str',
+ default = "CRITICAL",
+ help = _("Set the logging level. " + \
+ "One of info, warn, error, " + \
+ "critical or debug"))
runtime_group.add_option( "--logfile",
dest = "logfile",