mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
* It should only log rotate on log files As explained in https://github.com/Unitech/pm2/issues/2498#issuecomment-263678535 : The logs are being saved as index-out-0.log and index-error-0.log. If you just leave /home/user/.pm2/pm2.log /home/user/.pm2/logs/*, the first time logrotate runs, it generates index-out-0.log.1. The second time it runs it generates index-out-0.log.1.1, and it continues creating files for each file found, since you are including all files. It should be reverted back to *.log or *log
20 lines
392 B
Markdown
20 lines
392 B
Markdown
<!--
|
|
Thank you for contributing to PM2!
|
|
|
|
About a new issue, please check that there is no duplicate:
|
|
https://github.com/Unitech/pm2/search?type=Issues
|
|
|
|
If not please fill out the following questions:
|
|
-->
|
|
|
|
**What's going wrong?**
|
|
**How could we reproduce this issue?**
|
|
|
|
## Supporting information
|
|
|
|
```
|
|
PM2 version: `pm2 -v`
|
|
Node version: `node -v`
|
|
Windows? Mac? Linux?
|
|
```
|