fix: don't log at "root" level.
This commit is contained in:
@@ -223,7 +223,7 @@ def setup_logging(config: Config) -> None:
|
|||||||
logger.info("Enabling colorized output.")
|
logger.info("Enabling colorized output.")
|
||||||
error_console._color_system = error_console._detect_color_system()
|
error_console._color_system = error_console._detect_color_system()
|
||||||
|
|
||||||
logging.info("Logfile configured")
|
logger.info("Logfile configured")
|
||||||
|
|
||||||
# Set verbosity levels
|
# Set verbosity levels
|
||||||
logging.root.setLevel(logging.INFO if verbosity < 1 else logging.DEBUG)
|
logging.root.setLevel(logging.INFO if verbosity < 1 else logging.DEBUG)
|
||||||
|
|||||||
Reference in New Issue
Block a user