Setting up the chat client functionality using SocketIO - Start

This commit is contained in:
Josako
2024-05-15 14:37:21 +02:00
parent 6f13d72261
commit ea23e8d327
10 changed files with 165 additions and 2 deletions

View File

@@ -18,6 +18,14 @@ LOGGING = {
'backupCount': 10,
'formatter': 'standard',
},
'file_chat': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
'filename': 'logs/eveai_chat.log',
'maxBytes': 1024*1024*5, # 5MB
'backupCount': 10,
'formatter': 'standard',
},
'console': {
'class': 'logging.StreamHandler',
'level': 'DEBUG',
@@ -40,6 +48,11 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False
},
'eveai_chat': { # logger for the eveai_chat
'handlers': ['file_chat', 'console'],
'level': 'DEBUG',
'propagate': False
},
'': { # root logger
'handlers': ['console'],
'level': 'WARNING', # Set higher level for root to minimize noise