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

pm2 start with --log option #214

Open
amitrohatgi opened this issue Feb 6, 2021 · 0 comments
Open

pm2 start with --log option #214

amitrohatgi opened this issue Feb 6, 2021 · 0 comments

Comments

@amitrohatgi
Copy link

The docs say that --log (or -l) on the pm2 cli will put both error and out logs in to that file specified after the -l flag. This is true, except it continues to write a second logging file in the default location /home/xxx/.pm2/logs.

This does not happen if you specify -e and -o separately.

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

No branches or pull requests

1 participant