The logrotate utility manages log files by rotating, compressing, and removing them based on configuration.
It helps prevent log files from consuming excessive disk space.
Option A: Rotating Log Files as Specified
Explanation:
logrotate rotates logs according to the specified criteria (size, time interval).
Rotation involves renaming the current log file and starting a new one.
Oracle Linux Reference:
Oracle® Linux 8: Managing Log Files-Using logrotate:
"The logrotate utility simplifies the administration of log files by automatically rotating, compressing, and removing log files."
Option C: Compressing Log Files
Explanation:
logrotate can compress old log files after rotation to save disk space.
Compression is typically done using gzip.
Oracle Linux Reference:
Oracle® Linux 8: Managing Log Files-Configuring logrotate:
"You can configure logrotate to compress rotated log files by using the compress option."
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit