Browse files

do not set the file log handlers's log level.

The handler now inherits the log level from the logger, which can be changed by qtile.
Should fix #179
  • Loading branch information...
1 parent dc8e75a commit 7ace0aed0446ebdfb0a164abb17c6a5ddbaaaf1f Tim Neumann committed Nov 1, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 libqtile/log_utils.py
View
1 libqtile/log_utils.py
@@ -43,7 +43,6 @@ def format(self, record):
def init_log(log_level=logging.WARNING, logger='qtile'):
handler = logging.FileHandler(
os.path.expanduser('~/.%s.log' % logger))
- handler.setLevel(logging.WARNING)
handler.setFormatter(
logging.Formatter(
"%(asctime)s %(levelname)s %(funcName)s:%(lineno)d %(message)s"))

0 comments on commit 7ace0ae

Please sign in to comment.