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 set pm2-logrotate:max_size 1K doesn't work, logs are not rotated #174

Open
pubmikeb opened this issue Jun 25, 2021 · 2 comments
Open

Comments

@pubmikeb
Copy link

I set pm2 set pm2-logrotate:max_size 1K and expect that log will be rotated (flushed) every time log file reaches 1 KB but in fact it doesn't happen.

Perhaps, related to #169.

@JxJPu9bD
Copy link

max_ size applies to the size of a single file. You should also set the value of retain, but this setting does not take effect on my Windows Server

@nguyenngoc2505
Copy link

This settings doesn't works with me too. I've set 10G but it always rotate by default config (10M) zzz

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

3 participants