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

Ravi Sir's Cards › AWS

logrotate vs journalctl --vacuum

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

logrotate vs journalctl --vacuum: Text log files.; The systemd journal.
logrotate vs journalctl --vacuum · Download PNG
Read card text

What this card says

Cleans

logrotate

Text log files.

journalctl --vacuum

The systemd journal.

Key points

Config in /etc/logrotate.d.

By size or time.

Example

logrotate -d /etc/logrotate.d/nginx

Use when

App logs.

Journal too big.

See all AWS revision cards