Open FayKn opened 2 years ago
@vmarchaud @jshkurti
I have the same problem.I'm very much looking forward to a reply.
➜ node-bff git:(master) ✗ ./node_modules/.bin/pm2 set pm2-logrotate:max_size 1K
➜ node-bff git:(master) ✗ ./node_modules/.bin/pm2 conf
Module: pm2-logrotate
$ pm2 set pm2-logrotate:max_size 10M
$ pm2 set pm2-logrotate:retain 30
$ pm2 set pm2-logrotate:compress false
$ pm2 set pm2-logrotate:dateFormat YYYY-MM-DD_HH-mm-ss
$ pm2 set pm2-logrotate:workerInterval 30
$ pm2 set pm2-logrotate:rotateInterval 0 0 * * *
$ pm2 set pm2-logrotate:rotateModule true
Module: module-db-v2
$ pm2 set module-db-v2:pm2-logrotate [object Object]
➜ node-bff git:(master) ✗
Same issue!
Same issue. It eats up my hard drive.
has there been any correction since?
I have the following config
And so you'd expect files that are larger then 10kb to not happen but then I find files that are 40kb, could I be doing something wrong?
the file in question is named index-error__2022-04-01_11-31-16.log
server is running AlmaLinux- 8 and it's hosting a Nuxt.js app
Thanks!