Skip to content

Commit

Permalink
Change default loglevel
Browse files Browse the repository at this point in the history
ThreadLogHandler should default to INFO, so that it logs informational
messages from tasks.
  • Loading branch information
rwb27 committed Apr 23, 2020
1 parent edc79e8 commit ee3c052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labthings/core/tasks/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def terminate(self):


class ThreadLogHandler(logging.Handler):
def __init__(self, thread=None, dest=None, level=logging.WARNING):
def __init__(self, thread=None, dest=None, level=logging.INFO):
"""Set up a log handler that appends messages to a list.
This log handler will first filter by ``thread``, if one is
Expand Down

0 comments on commit ee3c052

Please sign in to comment.