Skip to content

fix(fastapi): centralize logging initialization

Kevin Morris requested to merge kevr/aurweb:pu_central_logging into pu

With this change, we provide a wrapper to logging.getLogger in the aurweb.logging module. Modules wishing to log using logging.conf should get their module-local loggers by calling aurweb.logging.getLogger(__name__), similar to logging.getLogger, this way initialization with logging.conf is guaranteed.

Signed-off-by: Kevin Morris

Merge request reports