8000 Max size not being used · Issue #180 · keymetrics/pm2-logrotate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Max size not being used #180
Open
Open
@FayKn

Description

@FayKn

I have the following config

$ pm2 set pm2-logrotate:max_size 10K
$ pm2 set pm2-logrotate:retain 7
$ 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 12 10 *
$ pm2 set pm2-logrotate:rotateModule true

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0