Skip to content

pm2 logs --raw doesn't display previous logs #2868

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
serge1peshcoff opened this issue May 6, 2017 · 1 comment
Closed

pm2 logs --raw doesn't display previous logs #2868

serge1peshcoff opened this issue May 6, 2017 · 1 comment

Comments

@serge1peshcoff
Copy link

I'm trying to display my app logs with PM2, and they're in JSON, so I need raw logs.
When using the pm2 logs <app-name> --raw, there are only logs that were emitter after the command start, the previous logs aren't displayed (though if I run it without the --raw flag, the previous logs are displayed).
The --lines <n> or --lines=<n> options seem to not work.

I've seen this issue: #1277, however it was stated that it has been fixed and I'm still facing it.

Can you help me with it?

PM2 version: `2.4.6`
Node version: `7.10.0`, installed with `n`
Xubuntu Studio 17.04 x64
@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