Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions meshtastic/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def common():
args = our_globals.get_args()
parser = our_globals.get_parser()
logging.basicConfig(
level=logging.DEBUG if args.debug else logging.INFO,
level=logging.DEBUG if (args.debug or args.listen) else logging.INFO,
format="%(levelname)s file:%(filename)s %(funcName)s line:%(lineno)s %(message)s",
)

Expand Down Expand Up @@ -1367,7 +1367,7 @@ def initParser():

parser.add_argument(
"--listen",
help="Just stay open and listen to the protobuf stream.",
help="Just stay open and listen to the protobuf stream. Enables debug logging.",
action="store_true",
)

Expand Down