Skip to content

Tag: logging

All the articles with the tag "logging".

Optimize Ubuntu Logs: btmp Log Rotation

Optimize Ubuntu Logs: btmp Log Rotation

· Updated:

btmp logs failed logins and grows forever on internet-facing servers. Set up logrotate to keep it under control before your disk fills up.

SumGuy’s Guide to Linux Log Analysis

SumGuy’s Guide to Linux Log Analysis

· Updated:

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.

When systemd swallows your service logs

When systemd swallows your service logs

· Updated:

Service restart not showing logs? systemd hides stdout. Learn journalctl, systemctl status, and debugging workflows for silent systemd failures.

Logrotate & Compression

Logrotate & Compression

· Updated:

logrotate keeps your /var/log from eating the disk, configure rotation schedules, compression, and retention for any service log.