[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: syslog



On Wed, 26 Apr 2000, Andrew Kae wrote:
> Hello everyone,
> 
> I have noticed that some of /var/log files such as syslog and lastlog
> files are getting very large ~ 18-20 MB.  Is it ok to just delete them and
> recreate them?

Yes, you can delete & recreate them, but do not forget to send a SIGHUP to
syslog after that (or run /etc/init.d/sysklogd reload).  
There is a cron script that rotates these logs, and you should really
check why cron doesn't runs it.


Reply to: