Verified Commit a06f4ec1 authored by Kevin Morris's avatar Kevin Morris
Browse files

fix(fastapi): centralize logging initialization



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's avatarKevin Morris <kevr@0cost.org>
parent 5ae9d09e
Pipeline #12402 passed with stage
in 6 minutes and 33 seconds