Koozali.org: home of the SME Server

Logs

Tyrone Miles

Logs
« on: December 14, 2002, 08:22:27 PM »
I want to delete all my webserver logs for this past year, what is the most simple way.

I already have them backed up.

Nathan Fowler

Re: Logs
« Reply #1 on: December 14, 2002, 08:48:33 PM »
From Console:

/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd-admin stop
rm -rf /var/log/httpd/*
/etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd-admin start

Hope this helped,
Nathan

Tyrone Miles

Re: Logs
« Reply #2 on: December 14, 2002, 11:20:49 PM »
Thanks A LOT!