runtornado: Remove some unnecessary startup logging.

This significantly cleans up the run-dev.py output.
This commit is contained in:
Tim Abbott 2020-05-07 11:54:11 -07:00
parent 3b20c951cf
commit 73b2fcd618
1 changed files with 3 additions and 5 deletions

View File

@ -69,7 +69,6 @@ class Command(BaseCommand):
xheaders = options.get('xheaders', True)
no_keep_alive = options.get('no_keep_alive', False)
quit_command = 'CTRL-C'
if settings.DEBUG:
logging.basicConfig(level=logging.INFO,
@ -80,11 +79,10 @@ class Command(BaseCommand):
from django.utils import translation
translation.activate(settings.LANGUAGE_CODE)
print("Validating Django models.py...")
self.check(display_num_errors=True)
print("\nDjango version %s" % (django.get_version(),))
# We pass display_num_errors=False, since Django will
# likely display similar output anyway.
self.check(display_num_errors=False)
print("Tornado server is running at http://%s:%s/" % (addr, port))
print("Quit the server with %s." % (quit_command,))
if settings.USING_RABBITMQ:
queue_client = get_queue_client()