Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow choice between STDERR and STDOUT #964

Open
hickey opened this issue Jun 5, 2024 · 0 comments · May be fixed by #965
Open

Allow choice between STDERR and STDOUT #964

hickey opened this issue Jun 5, 2024 · 0 comments · May be fixed by #965

Comments

@hickey
Copy link

hickey commented Jun 5, 2024

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.

@hickey hickey linked a pull request Jun 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant