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.
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:
build a sample service
start the service with PESTO_LOG_LEVEL=WARNING
the very first pesto log 'INFO: Started server process [1]' should be removed.
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:
PESTO_LOG_LEVEL=WARNING