SUSE Certified Administrator in Enterprise Linux 15 sca_sles15 Question # 20 Topic 3 Discussion
sca_sles15 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3
Which statements about log file rotation are true? (Choose two)
A.
Configuration files in the /etc/logrotate.d/ directory can override settings in /etc/logrotate.conf.
B.
The /etc/logrotate.conf file controls which log files will be compressed or deleted based on some regular interval or when the log file reaches a particular size.
C.
The /etc/cron.daily/logrotate file controls which log files will be compressed or deleted based on some regular interval or when the log file
reaches a particular size.
D.
Configuration files in the /etc/logrotate.d/ directory can override settings in /etc/cron.daily/logrotate.
E.
The /usr/sbin/logrotate program is used to create and configure settings in the /etc/logrotate.conf file.
Log file rotation is the process of compressing or deleting old log files to save disk space and improve performance. The /etc/logrotate.conf file controls the global settings for log file rotation, such as frequency, size limit, compression method, etc. The /etc/logrotate.d/ directory contains configuration files for specific log files that can override the global settings in /etc/logrotate.conf. The /usr/sbin/logrotate program is used to perform log file rotation according to the configuration files. It is usually invoked by a cron job in /etc/cron.daily/logrotate. References:https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-logrotate.html
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