One trick that I always do to free some space from log files: cp /dev/null /var/log/anylogfiles
It will set the file logs to 0 bytes without affecting any permission on it. HTH, Fajar. On Friday 13 January 2006 09:12 pm, [EMAIL PROTECTED] wrote: > Yes, assuming you don't need the log history. Those files are created > because of logfile rotation. Logfile rotation can be completely > controlled for log files. > Check out /etc/logrotate.conf and/or /etc/logrotate.d > > Tim Rainier > > [EMAIL PROTECTED] wrote on 01/13/2006 08:02:50 AM: > > Hello list > > > > Today my Squid/Squidguard machine stopped working. I tracked it down to > > a > > > full up hard disk so I have deleted some unrequired files. Although, my > > > > /var/logs/ folder contains 300Mb of logs. > > > > Many of these are old logs such as access.log.2.gz. > > > > Is it safe to delete all old .gz log files, including the non > > Squid/Squidguard ones? > > > > Thanks > > > > Jason -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 10:53:24 up 2:48, 2.6.14-1.1653_FC4 GNU/Linux Let's use OpenOffice. http://www.openoffice.org
