Allow choice between STDERR and STDOUT

Abierto
#964 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript, node.js
Área
devtools

Línea de trabajo

Start by inspecting log() in node.js, where the output descriptor is hard-coded to stderr. Trace how logging output is configured and verify that callers can choose stdout or stderr while preserving the current default. Done means logs can be sent to stdout for Bamboo without removing stderr support.

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

Descripción

I have a situation where Atlassian Bamboo is being used for deployments (Don't blame me--not my choice). Unfortunately, in log() of node.js the file descriptor is hard coded to stderr. This causes everything to come out blood red in the logs. Not exactly the best thing to see in logs.

With Bamboo the way to prevent this is to write the logs to stdout and then the output would be treated as normal log output and not display in red.

Unfortunately, my knowledge level of NodeJS is not that great, but I think I just found how this could be triggered. Expect to see a PR in a few mins.

Lenguaje dominante
JavaScript
Estrellas
11.5k
Forks
992
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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 debug-js/debug

Todos los issues de debug-js/debug

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.