epike on Tue, 2 Apr 2002 11:37:59 -0500 |
> I often here this 'log' argument. I have used 'chklogs' for years. It > monitors, archives, deletes, logs based on size. I have never manually > maintained a log and I log lots of stuff. It is great to know that is > taken care of. Actually, most that I do is just redirect the default logs (mostly apache) (and some of my own logs) to the directory, and I put them on rotation by configuring logrotate; and then I forget about it (I just "know" theyre in the partition). The web logs grows fast, so I just say, like rotate them 15x or something (last one gets thrown out), and just watch the space periodically using "df". Pretty soon (after the logs have rotated 15x) I should have a good feel of how much space I need for logs. I really am too lazy to check, but I just know its "there" on the partition. Oh yeah, one time the partition got filled up by an invalid logrotate option and apache stopped working--good thing the logs did not take out the whole disk. e pike ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|