oslo.log is primarily used for configuring logging in an application, but it does include helpers that can be useful from libraries.
getLogger() wraps the function of the same name from Python’s standard library to add a KeywordArgumentAdapter, making it easier to pass data to the formatters provided by oslo.log and configured by an application.
Applications should use oslo.log’s configuration functions to register logging-related configuration options and configure the root and other default loggers.
Call register_options() before parsing command line options.
Call set_defaults() before configuring logging.
Call setup() to configure logging for the application.