Skip to content

Commit

Permalink
Merge pull request #34 from wolfmanstout/remove_log_junk
Browse files Browse the repository at this point in the history
Removed log cruft where the file handler is printed in each log statement
  • Loading branch information
drmfinlay committed Sep 23, 2018
2 parents c506f01 + c7d31cc commit 3b9656c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dragonfly/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _setup_file_handler():
log_file_path = os.path.join(mydocs_path, "dragonfly.txt")
_file_handler = logging.FileHandler(log_file_path)
formatter = logging.Formatter("%(asctime)s %(name)s (%(levelname)s):"
" %(message)s" + repr(_file_handler))
" %(message)s")
_file_handler.setFormatter(formatter)
return _file_handler

Expand Down

0 comments on commit 3b9656c

Please sign in to comment.