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

pino-pretty ignores stderr output #546

Open
jburghardt opened this issue Nov 21, 2024 · 0 comments
Open

pino-pretty ignores stderr output #546

jburghardt opened this issue Nov 21, 2024 · 0 comments

Comments

@jburghardt
Copy link

pino-pretty ignores stderr output.

node -e "process.stdout.write(JSON.stringify(`{'level':50,'time':'2024-11-21T12:42:09.256Z','msg':'test'}`))" | npx pino-pretty

-> [13:42:09.256] ERROR: test

node -e "process.stderr.write(JSON.stringify(`{'level':50,'time':'2024-11-21T12:42:09.256Z','msg':'test'}`))" | npx pino-pretty

-> {'level':50,'time':'2024-11-21T12:42:09.256Z','msg':'test'}

is this a desired behavior ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant