AirbusDefenceAndSpace / pesto

PESTO provides a set of tools to ease the process of packaging a Python algorithm as a processing web service into a docker image. The deployment of a web service becomes now as easy as filling few configuration files.
https://airbusdefenceandspace.github.io/pesto
Apache License 2.0
24 stars 8 forks source link

Fix logger level for non-root logger calls #16

Closed gpo-geo closed 2 years ago

gpo-geo commented 2 years ago

After using the PESTO_LOG_LEVEL variable from a pesto-based service, we noticed that logs emitted from non-root Python logger were not properly selected.

According to this reference, the requested level needs to be set on the root handler too.

To check the behaviour: