Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

logrotate safely

This revision card explains logrotate safely. It starts from the need that stop logs filling the disk. It describes daily, rotate 7, compress. The how-to section notes dry-run before trusting. An example on the card is test a config.

logrotate safely Stop logs filling the disk. daily, rotate 7, compress. Dry-run before trusting. Test a config.
logrotate safely · Download PNG
Read card text

What this card says

Why do we need it?

Stop logs filling the disk.

What is it?

daily, rotate 7, compress.

How to do it

Dry-run before trusting.

Example

Test a config.

sudo logrotate -d /etc/logrotate.d/nginx

See all AWS revision cards