Don't set handler log level; just use the logger log level.
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Apr 2011 19:13:03 +0000 (15:13 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Apr 2011 19:13:03 +0000 (15:13 -0400)
pyafm.py

index d4933168032b4375324fbb422b6b205d949a8578..ae7e6a0c7fcb428babc6c798b6c22f7a9d7bb68b 100644 (file)
--- a/pyafm.py
+++ b/pyafm.py
@@ -23,7 +23,6 @@ LOG = _logging.getLogger('pyafm')
 
 LOG.setLevel(_logging.DEBUG)
 h = _logging.StreamHandler()
-h.setLevel(_logging.WARN)
 f = _logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
 h.setFormatter(f)
 LOG.addHandler(h)