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

Add a logrotate statement #15

Open
mdouchement opened this issue Jan 14, 2024 · 0 comments
Open

Add a logrotate statement #15

mdouchement opened this issue Jan 14, 2024 · 0 comments

Comments

@mdouchement
Copy link
Owner

mdouchement commented Jan 14, 2024

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

@mdouchement mdouchement changed the title logrotate options to Add a logrotate statement Jan 14, 2024
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

1 participant