diff --git a/src/quart/app.py b/src/quart/app.py index 879440c..608f25b 100644 --- a/src/quart/app.py +++ b/src/quart/app.py @@ -834,11 +834,11 @@ def _signal_handler(*_: Any) -> None: keyfile, shutdown_trigger=shutdown_event.wait, # type: ignore ) - print(f" * Serving Quart app '{self.name}'") # noqa: T201 - print(f" * Debug mode: {self.debug or False}") # noqa: T201 - print(" * Please use an ASGI server (e.g. Hypercorn) directly in production") # noqa: T201 + # print(f" * Serving Quart app '{self.name}'") # noqa: T201 + # print(f" * Debug mode: {self.debug or False}") # noqa: T201 + # print(" * Please use an ASGI server (e.g. Hypercorn) directly in production") # noqa: T201 scheme = "https" if certfile is not None and keyfile is not None else "http" - print(f" * Running on {scheme}://{host}:{port} (CTRL + C to quit)") # noqa: T201 + # print(f" * Running on {scheme}://{host}:{port} (CTRL + C to quit)") # noqa: T201 tasks = [loop.create_task(task)] diff --git a/src/quart/logging.py b/src/quart/logging.py index 699a143..5f9b7b0 100644 --- a/src/quart/logging.py +++ b/src/quart/logging.py @@ -11,7 +11,7 @@ default_handler = StreamHandler(sys.stderr) default_handler.setFormatter(Formatter("[%(asctime)s] %(levelname)s in %(module)s: %(message)s")) - +default_handler.disabled = True class LocalQueueHandler(QueueHandler): """Custom QueueHandler that skips record preparation.