You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces a logging setup to centralize its configuration and removes
changes to the logging config from other places in the code base.
The logging config is called in the bases __init__ file to be as early
as possible applied. For sanic applications, it must also run for
workers and the main process. The configuration sets up logging by
default as follows:
- our code is logged at level INFO
- all third-party code is logged at level WARNING
What is "our" code is determined by the logger name: our loggers
should all be children of the renku_data_services logger. Using the
provided getLogger function makes sure this is the case.
The config can be adjusted using environment variables, as written in
`Config.from_env()`.
0 commit comments