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

Error when disabling logs #4560

Closed
codpot opened this issue Dec 28, 2019 · 1 comment
Closed

Error when disabling logs #4560

codpot opened this issue Dec 28, 2019 · 1 comment

Comments

@codpot
Copy link
Contributor

codpot commented Dec 28, 2019

What's going wrong?

(1)
When "out_file" or "error_file" set to "/dev/null" in Windows.
PM2 creates "C:\dev\null".
Stop PM2 app and remove "C:\dev" folder.
Start PM2 app occurs error.

(2)
When "out_file" or "error_file" set to "NULL" in Windows and Linux.
When run "pm2 flush", PM2 creates file named "NULL".

How could we reproduce this issue?

(1)
pm2 start ecosystem.config.js
pm2 stop all
REMOVE C:\DEV
pm2 start all

(2)
pm2 start ecosystem.config.js
pm2 flush all

Supporting information

$ pm2 report
@Unitech
Copy link
Owner

Unitech commented Apr 18, 2020

PM2 4.3.0 published:

npm install pm2@latest -g
pm2 update

@Unitech Unitech closed this as completed Apr 18, 2020
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

2 participants