-
Notifications
You must be signed in to change notification settings - Fork 2.6k
No logs with PM2 2.6.1 #3045
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
Comments
Could you share the configuration of your application ? |
I guess out_log is set to /dev/null or NULL |
Yes, it is, because we want the logs to go via logdriver (splunk). |
Ok, I just saw you're going to put that in the next version. |
Fixed on recently published pm2 (2.7.0): $ npm install pm2@latest -g
$ pm2 update Let me know if there is any issue |
@Unitech, in the event you set out_file or error_file to /dev/null, it ignores log_file. I'm not sure if this is intentional but in my case where I had:
The behavior changed between 2.5 and 2.6. I've created #3156 to fix this issue. |
Uh oh!
There was an error while loading. Please reload this page.
What's going wrong?
We aren't getting any logs while running pm2 logs.
The only change we made was to upgrade PM2 from 2.5.0 to 2.6.1.
How could we reproduce this issue?
Going into the docker container and running pm2 logs.
Rolling back to PM2 2.5.0 fixes the issue.
Supporting information
The text was updated successfully, but these errors were encountered: