+++ Devdas Bhagat [linux-india] <03/11/01 12:10 +0530>:
> On 03/11/01 11:19 +0530, Dr.K.S.Sangunni wrote:
> > I ran in to a problem. I found in /var/log  the file messages and secure
> > has grown big. I removed messages and secure. In secure I found lot of ftp
> Not a good idea. echo "" > /var/log/messages and then killall -HUP
> syslogd.

Hey, isn't there something like logrotate or newsyslog which will take care
of this?  Why manually remove old logfiles?

> Just rotate your logs (logrotate is a good tool) regularly, dialy if
> need be.

In fact just running logrotate would do rather than echo > /var/log/messages

        -srs

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to