Fixed logging issues

This commit is contained in:
Eliot Berriot 2018-12-05 17:15:15 +01:00
parent d68ab6ec20
commit 060543f62c
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ from asgiref.sync import async_to_sync
from channels.layers import get_channel_layer
from django.core.serializers.json import DjangoJSONEncoder
logger = logging.getLogger(__file__)
logger = logging.getLogger(__name__)
channel_layer = get_channel_layer()
group_add = async_to_sync(channel_layer.group_add)