Skip to content

Commit

Permalink
align with the rest of the code base
Browse files Browse the repository at this point in the history
  • Loading branch information
bellrichm committed Mar 10, 2024
1 parent 9b892e8 commit 73b893e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/user/MQTTSubscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2609,9 +2609,9 @@ def add_common_options(cls, parser):
help="Use the complete input configuration as the MQTTSubscribeDriver/MQTTSubscribeService configuration section.")
parser.add_argument("--console", action="store_true", dest="console",
help="Log to console in addition to syslog.")
parser.add_argument("--log-file",
parser.add_argument("--logging-file",
help="A file to log to.")
parser.add_argument("--log-level", choices=["TRACE", "DEBUG", "INFO", "ERROR"],
parser.add_argument("--logging-level", choices=["TRACE", "DEBUG", "INFO", "ERROR"],
help="The logging level.",
default="NOTSET")
@classmethod
Expand Down Expand Up @@ -2660,7 +2660,7 @@ def __init__(self, parser, options):

message_callback_config = self.config_dict.get('message_callback', None)

logger = Logger('Service', level=options.log_level, filename=options.log_file, console=options.console)
logger = Logger('Service', level=options.logging_level, filename=options.logging_file, console=options.console)
self.manager = TopicManager(None, topics_dict, logger)
self.message_callback_provider = MessageCallbackProvider(message_callback_config, logger, self.manager)

Expand Down

0 comments on commit 73b893e

Please sign in to comment.