Allow choice between STDERR and STDOUT

Đang mở
#964 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
11.5k
Fork
992
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của debug-js/debug

Tất cả issue của debug-js/debug

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.