summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Thenault <sylvain.thenault@logilab.fr>2008-12-05 17:23:31 +0100
committerSylvain Thenault <sylvain.thenault@logilab.fr>2008-12-05 17:23:31 +0100
commit5cc8e9bc6ca490dee3a38c527245c0baea3f3669 (patch)
tree39f27afdaa96eaef35ae1567fd6c20d34a6f1511
parent28421846074c4c60f9ff2b4124664a1305450671 (diff)
downloadlogilab-common-5cc8e9bc6ca490dee3a38c527245c0baea3f3669.tar.gz
shouldn't force threshold in debug mode
-rw-r--r--logging_ext.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/logging_ext.py b/logging_ext.py
index 67b8342..16f3b52 100644
--- a/logging_ext.py
+++ b/logging_ext.py
@@ -94,7 +94,6 @@ def init_log(debug=False, syslog=False, logthreshold=None, logfile=None,
handler = logging.StreamHandler(sys.stdout)
else:
if debug:
- logthreshold = logging.DEBUG
handler = logging.StreamHandler()
elif logfile is None:
if syslog: