mirror of https://github.com/zulip/zulip.git
Log server events with timestamps
(imported from commit b74274ccafcca716871058b8f9bde8dfe9e081ee)
This commit is contained in:
parent
3218f917ae
commit
2332fa2c72
|
@ -70,8 +70,9 @@ class Command(BaseCommand):
|
|||
|
||||
if settings.DEBUG:
|
||||
import logging
|
||||
logging.basicConfig(level=logging.INFO,
|
||||
format='%(asctime)s %(levelname)-8s %(message)s')
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
def inner_run():
|
||||
from django.conf import settings
|
||||
|
|
Loading…
Reference in New Issue