about summary refs log tree commit diff
path: root/uploader/db
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-02 09:46:50 -0500
committerFrederick Muriuki Muriithi2025-05-02 09:46:50 -0500
commite3687f8a56ea0928d95a4554ec05046c378025b0 (patch)
tree9fa3cce02b87be9ecf0d6a5dc0e056dfb36765bb /uploader/db
parent82d63dd1ab4e8647568963ffc025e9a2b08f7f9d (diff)
downloadgn-uploader-e3687f8a56ea0928d95a4554ec05046c378025b0.tar.gz
PoC: Use independent module-level loggers with application
Using flask.current_app.logger for logging in modules leads to the
modules requiring an app context, even when the module itself could be
used outside of the application.

This commit provides a proof-of-concept (really, me finally putting in
the effort to figure out logging) for how we could allow independent
loggers at the module level, that can then be hooked up to the main
logging in the system in question.
Diffstat (limited to 'uploader/db')
0 files changed, 0 insertions, 0 deletions