freeleaps-service-hub/apps/notification/common/config/log_settings.py
2024-10-30 07:22:26 -07:00

15 lines
386 B
Python

## This would be the app specific log setting file
class LogSettings:
LOG_LEVEL: str = "DEBUG"
LOG_PATH_BASE: str = "./logs"
LOG_PATH: str = LOG_PATH_BASE + "/" + "app" + ".log"
LOG_RETENTION: str = "14 days"
LOG_ROTATION: str = "00:00" # mid night
class Config:
env_file = ".log.env"
env_file_encoding = "utf-8"
log_settings = LogSettings()