We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4855f2 commit 81a8bc6Copy full SHA for 81a8bc6
sc2ts/cli.py
@@ -75,7 +75,12 @@ def setup_logging(verbosity, log_file=None):
75
# at the console output. For development this is better than having
76
# to go to the log to see the traceback, but for production it may
77
# be better to let daiquiri record the errors as well.
78
- daiquiri.setup(level=log_level, outputs=outputs, set_excepthook=False)
+ daiquiri.setup(outputs=outputs, set_excepthook=False)
79
+ # Only show stuff coming from sc2ts. Sometimes it's handy to look
80
+ # at the tsinfer logs too, so we could add an option to set its
81
+ # levels
82
+ logger = logging.getLogger("sc2ts")
83
+ logger.setLevel(log_level)
84
85
86
# TODO add options to list keys, dump specific alignments etc
0 commit comments