remove log

This commit is contained in:
2025-11-05 09:40:31 +03:30
parent 13d5c766be
commit 2c8c60a9b9
2 changed files with 5 additions and 1945 deletions

View File

@@ -472,21 +472,19 @@ LOGGING = {
'class': 'logging.StreamHandler',
'formatter': 'verbose',
},
'file': {
'class': 'logging.FileHandler',
'filename': 'logs/django_requests.log',
'formatter': 'verbose',
},
# 'file': {
# 'class': 'logging.FileHandler',
# 'filename': 'logs/django_requests.log',
# 'formatter': 'verbose',
# },
},
'loggers': {
# لاگر اصلی Django
'django': {
'handlers': ['console', 'file'],
'level': 'INFO',
'propagate': True,
},
# لاگر مربوط به درخواست‌ها
'django.server': {
'handlers': ['console', 'file'],
'level': 'INFO',

File diff suppressed because it is too large Load Diff