Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Can I pipe the Stdout? #29

Open
mrsimonemms opened this issue Oct 16, 2016 · 2 comments
Open

Can I pipe the Stdout? #29

mrsimonemms opened this issue Oct 16, 2016 · 2 comments

Comments

@mrsimonemms
Copy link

<praise>Splendid package, well done</praise>

My application uses Bunyan for logging. In order to make the output more readable, my original command is node ./app.js | bunyan.

When I change my command to nodejs-dashboard node ./app.js | bunyan, I just get the message "Waiting for client connection on 9838..." and nothing else.

If I get rid of the | bunyan pipe, it works fine (but with the stdout an unreadable mess).

Any ideas how to get my output piped?

@jasonwilson
Copy link
Contributor

Hi @riggerthegeek not sure that this setup will work in its current incarnation. You might be able to use bunyan -p option with some bash hackery and launch bunyan via the dashboard.

@mrsimonemms
Copy link
Author

Yeah, that might work. It's a little bit coupled to Bunyan though.

It might be a useful addition in future to be able to pipe the output

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

No branches or pull requests

2 participants