We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 896eeff + 917d6b2 commit 218e9b9Copy full SHA for 218e9b9
meshtastic/__main__.py
@@ -919,7 +919,7 @@ def common():
919
args = our_globals.get_args()
920
parser = our_globals.get_parser()
921
logging.basicConfig(
922
- level=logging.DEBUG if args.debug else logging.INFO,
+ level=logging.DEBUG if (args.debug or args.listen) else logging.INFO,
923
format="%(levelname)s file:%(filename)s %(funcName)s line:%(lineno)s %(message)s",
924
)
925
@@ -1367,7 +1367,7 @@ def initParser():
1367
1368
parser.add_argument(
1369
"--listen",
1370
- help="Just stay open and listen to the protobuf stream.",
+ help="Just stay open and listen to the protobuf stream. Enables debug logging.",
1371
action="store_true",
1372
1373
0 commit comments