Bish/Suresh
Thanks for the info
As Suresh said, logrotate is there and I went through the man page. In my
logrotate.conf I found only few entries apart from include
/etc/logrotate.d. The following is the only one i found.
/var/log/wtmp {
monthly
create 0664 root utmp
rotate1
}What is this 0664. Is this conf file will work with logrotate.d to clear and rotate?. I found in my older system, message are backedup every week but it is not happening. Do we need to do some changes in logrotate.conf? sangunni On Sat, 3 Nov 2001, Suresh Ramasubramanian wrote: > +++ 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 > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
