|
@@ -182,7 +182,7 @@ if SECRET_KEY is None:
|
182
|
182
|
|
183
|
183
|
# Logging Configuration
|
184
|
184
|
#
|
185
|
|
-ROOT_LOGGER_NAME = 'apps'
|
|
185
|
+ROOT_LOGGER_NAME = os.path.basename(os.path.dirname(__file__))
|
186
|
186
|
default_handler = ['socket'] if DEBUG else ['console']
|
187
|
187
|
|
188
|
188
|
|
|
@@ -216,7 +216,7 @@ File "%(pathname)s", line %(lineno)d, in %(funcName)s
|
216
|
216
|
},
|
217
|
217
|
'socket': {
|
218
|
218
|
'level': 'DEBUG',
|
219
|
|
- 'class': 'piki.settings.DjangoSocketHandler',
|
|
219
|
+ 'class': f'{ROOT_LOGGER_NAME}.settings.DjangoSocketHandler',
|
220
|
220
|
'host': '127.0.0.1',
|
221
|
221
|
'port': 19996,
|
222
|
222
|
},
|