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', 'class': 'logging.StreamHandler',
'formatter': 'verbose', 'formatter': 'verbose',
}, },
'file': { # 'file': {
'class': 'logging.FileHandler', # 'class': 'logging.FileHandler',
'filename': 'logs/django_requests.log', # 'filename': 'logs/django_requests.log',
'formatter': 'verbose', # 'formatter': 'verbose',
}, # },
}, },
'loggers': { 'loggers': {
# لاگر اصلی Django
'django': { 'django': {
'handlers': ['console', 'file'], 'handlers': ['console', 'file'],
'level': 'INFO', 'level': 'INFO',
'propagate': True, 'propagate': True,
}, },
# لاگر مربوط به درخواست‌ها
'django.server': { 'django.server': {
'handlers': ['console', 'file'], 'handlers': ['console', 'file'],
'level': 'INFO', 'level': 'INFO',

File diff suppressed because it is too large Load Diff