PatrickWeller / PanelPal

1 stars 0 forks source link

Issue59 - Centralise and Standardise Logging #71

Open PatrickWeller opened 1 day ago

PatrickWeller commented 1 day ago

This PR implements a centralized logging configuration system as part of Sprint3. The changes establish consistent logging practices across the application by moving all logging configuration to settings.py and introducing a standardized way to create loggers for each module.

Key changes:

The new logging system provides better debugging capabilities while maintaining clean production logs, with proper module attribution for all log messages.

Testing (no unit tests set up for the logger, as I'm not sure that is normal?):

This change is a good step of contribution towards Sprint3, and also ticks a lot of boxes for the marking rubric. See below the top level of Software integrity and code quality section:

Resolves #59

PatrickWeller commented 1 day ago

Also, pylint has no issues with the code: image