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

Configure logrotation #85

Open
etursunbaev opened this issue Jul 28, 2018 · 3 comments
Open

Configure logrotation #85

etursunbaev opened this issue Jul 28, 2018 · 3 comments

Comments

@etursunbaev
Copy link

etursunbaev commented Jul 28, 2018

Need to add configuration to vagrant box logrotation settings
Unfortunately in office peers we face that /var partition gets full by logs and blocks to create environments
By default /var lv has 7,5G which should be enough if logs are in INFO mode
But in master they are in debug mode.
Can you setup logrotation to logrotate everyday?

Edit/Change this file /etc/logrotate.d/rsyslog

  • Remove delaycompress
  • Add size 100M property to each section
  • on second section change weekly to daily
@jadilet
Copy link
Contributor

jadilet commented Jul 28, 2018

@etursunbaev Yes I will add this logrotate configuration.

@etursunbaev
Copy link
Author

Tested
The provision provided new rsyslog configuration
Done

@Almansherov
Copy link
Member

Almansherov commented Sep 27, 2018

This issue was tested ^
Fixed on master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants