Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OchiengPaul442 committed Dec 10, 2024
1 parent afc8bbe commit fff0667
Showing 1 changed file with 72 additions and 1 deletion.
73 changes: 72 additions & 1 deletion src/website/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,77 @@ def require_env_var(env_var: str) -> str:
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Add other app loggers here if needed
# CleanAir App Logs
'apps.cleanair': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# AfricanCities App Logs
'apps.africancities': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Publications App Logs
'apps.publications': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Press App Logs
'apps.press': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Impact App Logs
'apps.impact': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# FAQs App Logs
'apps.faqs': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Highlights App Logs
'apps.highlights': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Career App Logs
'apps.career': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Partners App Logs
'apps.partners': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Board App Logs
'apps.board': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# Team App Logs
'apps.team': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
# ExternalTeams App Logs
'apps.externalteams': {
'handlers': ['console', 'file', 'error_file'],
'level': 'DEBUG' if DEBUG else 'INFO',
'propagate': False,
},
}
}

0 comments on commit fff0667

Please sign in to comment.