aws / aws/aws-step-functions-data-science-sdk-python
stepfunctions package side effect of changing application's root logger logging level to ERROR
- Lenguaje dominante
- Python
- Estrellas
- 299
- Forks
- 84
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
stepfunctions packages resets the root logger's logging level. And it will mess up application's logging level setting when importing the stepfunctions package.
Here is where the logging level is reset:
https://github.com/aws/aws-step-functions-data-science-sdk-python/blob/main/src/stepfunctions/__init__.py#L23
### Reproduction Steps
config your logger before import stepfunctions. And then observed the logging level is changed after import stepfunctions.
---
This is :bug: Bug Report
Guía de contribución
Línea de trabajo
Comience en src/stepfunctions/__init__.py, línea 23, y siga la ruta de importación del paquete que cambia el logger raíz. Reproduzca el problema configurando el logger de la aplicación antes de importar stepfunctions y, a continuación, verifique que la importación deje sin cambios el nivel de logging de la aplicación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- aws, python
- Área
- cloud
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100