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.log not being rotated if log not in pm2 root folder #178

Open
DavidCockerill opened this issue Dec 8, 2021 · 0 comments
Open

pm2.log not being rotated if log not in pm2 root folder #178

DavidCockerill opened this issue Dec 8, 2021 · 0 comments

Comments

@DavidCockerill
Copy link

I have moved the pm2.log file by updating the PM2_LOG_FILE_PATH env var, however logrotate still looks for it in the PM2_ROOT_PATH. Because of this the pm2.log file is not being rotated.

Is there a way around this?

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