chore: import and apply custom logging configuration in settings

This commit is contained in:
ramvignesh-b
2026-04-29 01:14:11 +05:30
parent 46c7d9ffeb
commit dc0d688885
+3
View File
@@ -16,6 +16,8 @@ from pathlib import Path
import environ import environ
from .logging import LOGGING
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent
@@ -54,6 +56,7 @@ SECRET_KEY = env("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DEBUG", default=False) DEBUG = env.bool("DEBUG", default=False)
LOGGING = LOGGING
# Application definition # Application definition