Allow choice between STDERR and STDOUT

Aperta
#964 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, node.js
Ambito
devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
11.5k
Fork
992
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di debug-js/debug

Tutte le issue di debug-js/debug

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.