Managing Log Files
0%

Logging · Lesson 6

Managing Log Files

Learn how to configure, test, and verify safe text-log rotation with logrotate.

Unbounded text logs can exhaust a filesystem, while overly aggressive deletion can remove evidence required for operations or compliance. logrotate applies configured size, time, compression, ownership, and retention policies to file-based logs.