mstar.utils.logging_config

mstar.utils.logging_config#

Functions

quiet_noisy_loggers([level])

Raise chatty third-party loggers to level (default WARNING).

mstar.utils.logging_config.quiet_noisy_loggers(level=logging.WARNING)[source]#

Raise chatty third-party loggers to level (default WARNING).

Per-logger levels are independent of the root level, so this suppresses the per-request HTTP noise from weight downloads while mstar keeps a global INFO level. Call once after logging.basicConfig in each process.

Parameters:

level (int)

Return type:

None