Why Your Docker Logs Are Eating Your Disk
·
Updated:
Docker's default JSON logging driver writes unbounded logs to disk. Learn how to set log rotation and reclaim your storage.
All the articles with the tag "logging".
Docker's default JSON logging driver writes unbounded logs to disk. Learn how to set log rotation and reclaim your storage.
btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.
Your logs are in journald, not /var/log. journalctl queries that work, awk patterns that hold up, and five popular one-liners that quietly return nothing.
Service restart not showing logs? systemd hides stdout. Learn journalctl, systemctl status, and debugging workflows for silent systemd failures.
logrotate keeps your /var/log from eating the disk, configure rotation schedules, compression, and retention for any service log.