From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2154 Path: news.gmane.org!not-for-mail From: Jason Dusek Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: [magic sv logging] Date: Fri, 21 Sep 2012 15:35:41 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1348241744 22023 80.91.229.3 (21 Sep 2012 15:35:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 15:35:44 +0000 (UTC) Cc: supervision@list.skarnet.org To: Mike Buland Original-X-From: supervision-return-2388-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Sep 21 17:35:48 2012 Return-path: Envelope-to: gcsg-supervision@plane.gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TF5Gd-0001Gp-8K for gcsg-supervision@plane.gmane.org; Fri, 21 Sep 2012 17:35:47 +0200 Original-Received: (qmail 11397 invoked by uid 76); 21 Sep 2012 14:37:02 -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 11387 invoked from network); 21 Sep 2012 14:37:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5wF0UCpvoK2RcciFaIaK28xS5cWOyxozHi1E/vH1Ypg=; b=cPsioW57nT8eCs1YjJCkQ1DPgdOSmRdAG/8hUsc0tzJeWg+i70W0B2dp/EqBpePxxz oNEhXFMWhoERJNoj/2ZKsouuyK7tiscHgTD0xYBFVCIy6PK21SR8RMZtjmYUdnDpV3+U TVJVLV4jN44ayktzJTP+SrMqxpLREuazCI6wED+9Hlap7eNa7SvNB5GBli6gVtG63Wmq hGA57SDCZI1ZQhSlrhJBdLgQUV3HXvdMxNuB/F0t815pxTY1Ip7vqPPRD9Tw2vyQbYEq EhfAuDRh4UWFhlkCoieeBgDgtmxGYjLObMfMA4Zu8QAbvbhOfqTNppLFR3SiuZe++akv MALQ== In-Reply-To: Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2154 Archived-At: 2012/9/21 Mike Buland : > You haven't missed anything, well, it's more like "tail --follow=name > ' but instead of piping the output of tail into another program for > processing, this just does all the work in python. Not only was it fun to > write, but I like the fact that I don't need to chain more programs > together. Surely you could start `tail' with the subprocess module and process its output line-by-line? -- Jason Dusek pgp // solidsnack // C1EBC57DC55144F35460C8DF1FD4C6C1FED18A2B