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

silent mode #197

Open
focusaurus opened this issue Jan 22, 2017 · 0 comments
Open

silent mode #197

focusaurus opened this issue Jan 22, 2017 · 0 comments

Comments

@focusaurus
Copy link

I'd like a --silent command line flag to disable the writing of restart notices to stdout. I typically run node-dev as the head of a unix pipeline like this:

node-dev . \
  | tee -a logs/app.log \
  | grep --line-buffered -v '^\[INFO' \
  | json -g -a -0 -e 'delete this.v; delete this.hostname;delete this.level; delete this.pid; delete this.name'

And I need that grep call to filter out the node-dev [INFO] notices so my ndjson processing doesn't screw up. It is still obvious when restarts happen because my application logs startup messages.

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