Log rotation.

835    Asked by TanuBakshi in Devops , Asked on Jan 23, 2020
Answered by Tanu Bakshi

System/application logs are created every second/minute depending upon their use and configuration hence they eat up a good amount of available storage space. Hence, linux OS self archive logs depending upon default setting (Say per week/month/size ) and creates a tar ball which shrinks the logs and store them within /var/log location.

Linux OS also provides rotatelogs facility for some 3rd party apps also, like for apache.



Your Answer

Interviews

Parent Categories