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.
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.