Skip to content

Commit

Permalink
Merge pull request #1723 from mrechte/fix_loglevl
Browse files Browse the repository at this point in the history
-V option was not honored.
  • Loading branch information
avanwinkle authored Nov 21, 2023
2 parents b2d1f0d + ef26e54 commit ea1a26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpf/commands/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(self, mpf_path, machine_path, args):
const=logging.DEBUG,
default=logging.INFO,
help="Enables verbose logging to the console. DO "
"NOTE: On Windows platforms you must also use -v for "
"NOTE: you must also use -v for "
"this to work.")

parser.add_argument("-x",
Expand Down Expand Up @@ -177,7 +177,7 @@ def __init__(self, mpf_path, machine_path, args):
console_log_queue = Queue()
console_queue_handler = QueueHandler(console_log_queue)
self.console_queue_listener = logging.handlers.QueueListener(
console_log_queue, console_log)
console_log_queue, console_log, respect_handler_level=True)
self.console_queue_listener.start()

# initialize file log
Expand Down

0 comments on commit ea1a26f

Please sign in to comment.