LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to mv compress the apache log without stopping apache server (https://www.linuxquestions.org/questions/linux-server-73/how-to-mv-compress-the-apache-log-without-stopping-apache-server-4175413214/)

jayakumar01 06-25-2012 01:31 AM

How to mv compress the apache log without stopping apache server
 
Hi

In my linux filesystem getting filled of rapidly .Only possible way to clean up logs But i find apache log is cach is holding by many apache process.If i cleaned up apache log ,apache could stopped working ,Can anyone help me wat can i do in these scenerio without stoopping apache server

pan64 06-25-2012 03:42 AM

probably you need to use logrotate: http://www.thegeekstuff.com/2011/07/rotate-apache-logs/


All times are GMT -5. The time now is 07:06 PM.