Tuesday 23 February 2010

/var/log/httpd_access.log

ผมแนะนำว่าไม่ควรลบนะครับ เราอาจจะ copy ไปเก็บไว้ที่อื่นก่อน เผื่อเราได้มานั่งดู log ในภายหลังได้ (เป็น admin ต้องรอบคอบสักนิดครับ แต่ก็ปลอดภัย อิอิ)

Step.
#cp /var/log/httpd_access.log /home/username
#cp /var/log/httpd_error.log /home/username

#rm -rf /var/log/httpd_access.log
#rm -rf /var/log/httpd_error.log

#touch httpd_access.log
#touch httpd_error.log 






No comments:

Post a Comment