mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 17:29:56 +08:00
change: init logger with INFO level
This commit is contained in:
@@ -9,7 +9,7 @@ from loguru import logger
|
||||
from httprunner import __description__, __version__
|
||||
from httprunner.compat import ensure_cli_args
|
||||
from httprunner.make import init_make_parser, main_make
|
||||
from httprunner.utils import ga_client, init_sentry_sdk
|
||||
from httprunner.utils import ga_client, init_logger, init_sentry_sdk
|
||||
|
||||
init_sentry_sdk()
|
||||
|
||||
@@ -57,6 +57,8 @@ def main_run(extra_args) -> enum.IntEnum:
|
||||
def main():
|
||||
""" API test: parse command line options and run commands.
|
||||
"""
|
||||
init_logger()
|
||||
|
||||
parser = argparse.ArgumentParser(description=__description__)
|
||||
parser.add_argument(
|
||||
"-V", "--version", dest="version", action="store_true", help="show version"
|
||||
|
||||
Reference in New Issue
Block a user