testcontainers / testcontainers/testcontainers-java
Allow logging level to be specified during container creation.
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 8.7k
- Forks
- 1.9k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 9
Descripción
I'm currently trying to debug an issue where I can run a postgresql container via the command line and I see that the database starts just fine. But testcontainers throws an IllegalArgumentException -> ContainerLaunchException (apparently it thinksthat the PostgreSQLContainer doesn't start properly). I see in the source code that logging is hard-coded to be turned off during the startup process. It would be nice to have a method of changing this value since the information provided is not very useful for debugging.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza en la ruta de inicio de PostgreSQLContainer y sigue el rastro de dónde se deshabilita el registro durante la creación del contenedor. Identifica la configuración codificada existente y el punto de entrada para la creación del contenedor; después, haz configurable el nivel de registro y verifica que los diagnósticos de inicio puedan habilitarse cuando el lanzamiento falle.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, java, postgresql
- Área
- devops, testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100