Click to See Complete Forum and Search --> : How to get logs under control??


cme
01-07-2001, 06:54 PM
The log files in /var/log get too big for vi [my only editor right now] to open and it happens quickly [mainly messages, syslog and kernel.log(<-I think)]. How can I manage the log files so that they get renamed before they are too big for vi to handle and I am able to read them? I looked into logrotate, and set up a little config file, but it did bad things to /var/log [ie: renamed all files with .0 and didn't do the correct ones at the specified size] and so now I am a bit timid with that.

RH 6.1 handled them well how can I get Debian 2.2 to do the same? BTW I don't have X installed, if it matters.

Thanks in advance for any and all help.

demian
01-07-2001, 07:13 PM
The Linux Magazine is covering logging management in a series (http://www.linux-mag.com/depts/guru.html) right now. It's a lot to read but worth it.

cme
01-07-2001, 07:39 PM
Thanks... http://www.linuxnewbie.org/ubb/smile.gif