QuestionQ33Verified/System Administration FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhich common best practice automatically reduces the disk space used to store log files?AUse the logrotate utility to periodically rotate the log files.BCreate a cron job that deletes all log files in the folder every day.CDelete the “/var/log” directory so the log files are prevented from being created.DManually empty the log files every day of the week.Show AnswerAnswerExplanationLog rotation automatically manages log growth by periodically renaming active logs and applying retention actions such as compression and removal of older files, preventing logs from consuming disk space indefinitely.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion