From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/552 Path: main.gmane.org!not-for-mail From: "Michael J. Forster" Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Socklog feature request Date: Sun, 8 Aug 2004 11:00:44 -0700 Message-ID: <20040808180044.GB77867@sartre.sharedlogic.ca> References: <20040807084800.GA7779@none.at> <20040808112240.3636.qmail@678ff29a1e7219.315fe32.mid.smarden.org> <20040808142835.GC30846@none.at> <20040808170954.26356.qmail@470640bb66f618.315fe32.mid.smarden.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1091988059 24416 80.91.224.253 (8 Aug 2004 18:00:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Aug 2004 18:00:59 +0000 (UTC) Original-X-From: supervision-return-790-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Aug 08 20:00:50 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BtryU-0007XR-00 for ; Sun, 08 Aug 2004 20:00:50 +0200 Original-Received: (qmail 7642 invoked by uid 76); 8 Aug 2004 18:01:11 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 7636 invoked from network); 8 Aug 2004 18:01:10 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20040808170954.26356.qmail@470640bb66f618.315fe32.mid.smarden.org> User-Agent: Mutt/1.4.2.1i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:552 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:552 On Sun, Aug 08, 2004 at 05:09:53PM +0000, Gerrit Pape wrote: > On Sun, Aug 08, 2004 at 04:28:35PM +0200, Alexander Lazic wrote: > > On Son 08.08.2004 11:22, Gerrit Pape wrote: > > >http://marc.theaimsgroup.com/?t=104379616100007&r=1&w=2 > > >http://marc.theaimsgroup.com/?t=104064482600002&r=1&w=2 > > Thanx for the links ;-) > > > >>I need to rotate the logs per day but haven't found a easy way to do > > >>this with socklog. > > >Why do you need? I would advise to make use of the great feature of > > > The filesize is not my problem. When i look into the file of e.g Friday > > then i want _all_ data from Friday are in one logfile, if it is 1GB or > > whatever it is so. I suggest separating the notions of log collection and analysis, as would a database programmer the notions of physical and logical data structure. On the servers I manager, file sizes under /var/log are of concern. I let multilog do its thing and, on a daily (or hourly, as necessary) basis, I move any rotated logs to a place where space isn't a concern. From there, some simple shell scripts can extract log entries by date regardless of the files involved. -Mike