Skip to content

pm2 logs with regular expression for app names #2888

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

Closed
tnguyen14 opened this issue May 18, 2017 · 3 comments
Closed

pm2 logs with regular expression for app names #2888

tnguyen14 opened this issue May 18, 2017 · 3 comments

Comments

@tnguyen14
Copy link

It would be great to have pm2 logs be able to handle a regex, such as pm2 logs /foo-.*/, similar to the restart, stop and delete commands raised in #2564

@vmarchaud
Copy link
Contributor

For anyone wanting to make a PR, it should be pretty straightforward : getting this logic into this function and this one

@sidthesloth92
Copy link
Contributor

sidthesloth92 commented Jun 5, 2017

@vmarchaud Have added the code for pm2 logs to accept regex for names

@vmarchaud
Copy link
Contributor

Published under PM2 2.5

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

No branches or pull requests

3 participants