mirror of
https://github.com/django/daphne.git
synced 2025-07-12 17:02:18 +03:00
Disabled log printing
This commit is contained in:
parent
25e613026e
commit
8975f75c8c
|
@ -5,7 +5,6 @@ from argparse import ArgumentError, Namespace
|
|||
|
||||
from asgiref.compatibility import guarantee_single_callable
|
||||
|
||||
from .access import AccessLogGenerator
|
||||
from .endpoints import build_endpoint_description_strings
|
||||
from .server import Server
|
||||
from .utils import import_by_path
|
||||
|
@ -213,6 +212,7 @@ class CommandLineInterface:
|
|||
# Decode args
|
||||
args = self.parser.parse_args(args)
|
||||
# Set up logging
|
||||
if args.verbosity >= 1:
|
||||
logging.basicConfig(
|
||||
level={
|
||||
0: logging.WARN,
|
||||
|
|
Loading…
Reference in New Issue
Block a user