Beginner
Log Retention and Rotation Policies
Define best practices for managing log storage and lifecycle.
📝 Prompt İçeriği
Draft a documentation guide outlining best practices for log retention and rotation. Address the following points: how to determine the appropriate retention period based on compliance requirements, strategies for compressing old logs, and how to implement hot/warm/cold storage tiers. Provide a sample logrotate configuration file for a generic application log stored at /var/log/app/app.log.