Option for more verbose logging - at least the filename loaded, possibly more.

Abierto
#483 1 comentario 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

Start by tracing how python-dotenv currently logs loaded files and how environment-variable options are handled. Define the supported verbose output and its security boundaries, then add coverage for selecting that behavior through an environment variable and confirming the loaded filename is reported.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The current logging makes sense: for security the values aren't output by default.

When I'm working on a new project, I'm configuring (initially misconfiguring stuff), I'd like to know the filename that was loaded and ideally the keys and values.

At the moment we get a line number, but because I'm working on a complicated project with a bunch of .env files, I'm left guessing which file is open.

I'd like to be able to set some environment variable and get more info, it's understandable if this doesn't show the keys and values, though at least the filename, and they key would be nice.

Note: I don't have control over where the code is called from so setting from an environment variable would be nice (in this case it's pipenv, as well as a django app I'm working on)

Lenguaje dominante
Python
Estrellas
8.9k
Forks
581
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de theskumar/python-dotenv

Todos los issues de theskumar/python-dotenv

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.