38.Write a note on ‘logrotate.conf’ file.
Ans.
1. ‘logrotate.conf’ and the files within the ‘logrotate.d’ directory determine how after your log files are rotated by the logrotate program.
2. Log rotation refers to the process of deleting older log files and replacing them with more recent ones.
3. ‘logrotate’ can automatically rotate, compress, remove and mail your log files.
4. Log files can be rotated based on size or on time.
Ans.
1. ‘logrotate.conf’ and the files within the ‘logrotate.d’ directory determine how after your log files are rotated by the logrotate program.
2. Log rotation refers to the process of deleting older log files and replacing them with more recent ones.
3. ‘logrotate’ can automatically rotate, compress, remove and mail your log files.
4. Log files can be rotated based on size or on time.
Comments
Post a Comment