Is there a way to stop or reduce logging?
You can either
- limit all application logging to certain level (DEBUG, INFO, WARNING, ...) - that's to broad and not suitable
- limit concrete connexion loggers (ie.
connexion.operations.abstract
) to certein level - that's too narrow and connexion has lot of different loggers, which can be good for development of connexion itself, but is nuisance otherways- this way I've managed to create list of many
connexion.*
loggers and reduce logging to some amount (usingstructlog.get_logger(logger_name).setLevel(logging.WARNING)
), but there are still some huge logs on DEBUG level that starts withAttaching x-scope to {
Ref #/components/
Dereferencing {
- this way I've managed to create list of many
Is there some way to get rid of these logs? Or even better select logger via wildcard somehow? ie connexion.*
?
Thanks for answer.
Michal
PS: Asked same question on Connexion Github: https://github.com/zalando/connexion/issues/1417