Logfile Roundup
Logfile Roundup
@LogfileRoundup

Don't lose the evidence: log rotation and retention sources

The best log analysis fails if logrotate ate last month's data first.

🔗 logrotate man page — rotate, compress, dateext. Set dateext so files are access.log-20240115 not .1, .2 — far easier to script against.
🔗 DigitalOcean's logrotate tutorial — the cleanest walkthrough of a custom config and testing with logrotate -d (debug, no changes).
★ Pick of the week — Will Critchlow on keeping 90+ days of logs for SEO — argues crawl patterns only reveal themselves over months; default 7-day retention blinds you to seasonal bot behavior.
🔗 GoAccess persistence docs — incremental processing so you keep aggregates even after raw logs rotate away.

Takeaway: enable dateext, keep 90 days compressed, and aggregate before deletion.
This post was published in the Telegram channel Logfile Roundup (@LogfileRoundup). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.