-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add a -q, --quiet option, and reduce the default level of verbosity. #59
Comments
Mmm yes would be nice but not critical for now, closing |
3 years later and here I am hoping for the same thing.. |
|
Ah, thats great! Thanks! |
4 years later i am wondering what is the issue when i only get this error: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pm2 is very verbose by default even without the -v, --verbose option. I feel that some of this default verbosity could be reduced and output only if the -v option is specified. Additionally, I feel pm2 needs a -q, --quiet option where it does not output to the console except in case of errors.
For an example of what I mean by reducing the default level of verbosity consider what happens when executing
pm2 stopAll
If pm2 stopped all processes then there shouldn't be any processes to list, and this process list below the command is useless nearly 100% of the time except perhaps if pm2 has a bug which caused a process to not be stopped.
This is just one example of where excessive console output could be trimmed out and only output if the user explicitly specifies the -v option.
What are your thoughts on this? Does anyone else agree? If so I may spend some time creating a less verbose fork and submit a pull request.
The text was updated successfully, but these errors were encountered: