Skip to content

Add a logrotate statement #15

@mdouchement

Description

@mdouchement

It must be used only when logs are stored in a file.

shigoto:
  task-name:
    logs_file: /shigoto/logs/rclone.log
    logrorate:
      size: 10M
      rotate: 7
      compress: true

It should also be applied on redirect of the runners

https://github.com/natefinch/lumberjack
https://github.com/kjk/common/tree/main/filerotate
https://pkg.go.dev/github.com/yieldr/go-log/log/logrotate
https://github.com/easyCZ/logrotate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions