Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65558

RE: Logging from a multiprocess application

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.069
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'subject:application': 0.07; 'ends,': 0.16; 'pointer,': 0.16; 'received:172.18.0': 0.16; 'subject:Logging': 0.16; 'url:)': 0.16; 'module': 0.19; 'to:name :python-list@python.org': 0.22; 'oriented': 0.24; 'header:Received:8': 0.24; 'looks': 0.24; "i've": 0.25; 'header :In-Reply-To:1': 0.27; 'this.': 0.32; 'maybe': 0.34; 'subject:from': 0.34; 'except': 0.35; 'something': 0.35; 'there': 0.35; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'performance': 0.37; 'to:addr:python-list': 0.38; 'fact': 0.38; 'aside': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'more': 0.64; 'experience.': 0.67; 'close': 0.67; 'obvious,': 0.91
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=tLeJwtg1FCvAouMblIYY1Z5/U6XdMrtw4y2B9g+QINc= c=1 sm=1 a=OzoniTdlcqIA:10 a=7PYXob_7ZXMA:10 a=P90J6pEA2ccA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=jUg-pHekAAAA:8 a=OONIgHFZE_7rA11bKnsA:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1391722730; bh=e12hjrfLphlrGU1d19XoP163GiAi5luSzYsgnoIoiz8=; h=From:To:Subject:Date:References:In-Reply-To; b=vixa0CZxyuH18EXb7St3REVTtjAbOiN/gy1ycIFfweyzItRIAwpefWcKyOdwZOc9r rThl/eB7VCoX2hnYfmuoM8mtMrg7bcO0Fy/oyxyk1qzFYc0I0HD5GiyiYiJp+qEPRB SnBHbu+G/b6iJgtqwUcymbUve//Z20HB9XKHiMHc=
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=activenetwerx.com; s=default; t=1391722730; bh=e12hjrfLphlrGU1d19XoP163GiAi5luSzYsgnoIoiz8=; h=From:To:Subject:Date:References:In-Reply-To; b=vixa0CZxyuH18EXb7St3REVTtjAbOiN/gy1ycIFfweyzItRIAwpefWcKyOdwZOc9r rThl/eB7VCoX2hnYfmuoM8mtMrg7bcO0Fy/oyxyk1qzFYc0I0HD5GiyiYiJp+qEPRB SnBHbu+G/b6iJgtqwUcymbUve//Z20HB9XKHiMHc=
X-Spam-Checker-Version SpamAssassin 3.3.1 (2010-03-16) on mail.activenetwerx.com
X-Spam-Level
X-Spam-Status No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.1
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Logging from a multiprocess application
Thread-Topic Logging from a multiprocess application
Thread-Index AQHPI3P9N/9yoWvf30GcQM7Csnp4K5qovw01
Date Thu, 6 Feb 2014 21:38:18 +0000
References <a4737d4b-d273-4a02-a927-e102f3aeee14@googlegroups.com>
In-Reply-To <a4737d4b-d273-4a02-a927-e102f3aeee14@googlegroups.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [172.18.0.4]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Virus-Scanned ClamAV using ClamSMTP
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6460.1391722734.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391722734 news.xs4all.nl 2892 [2001:888:2000:d::a6]:52787
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65558

Show key headers only | View raw


> Maybe check out logstash (http://logstash.net/).

That looks pretty slick, I am constrained to using something provided by the packaged modules
in this scenario.

I think I have it pretty close except for the fact that the LogRecordStreamHandler from the cookbook
excepts when the sending process ends, aside from the obvious, I am sure there is a more robust
performance oriented approach to this. I've yet to work with the SocketServer module so I am lacking
any experience.

Thanks for the pointer,
jlc

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Logging from a multiprocess application "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-02-06 18:24 +0000
  Re: Logging from a multiprocess application Mark Betz <betz.mark@gmail.com> - 2014-02-06 11:45 -0800
    RE: Logging from a multiprocess application "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-02-06 21:38 +0000

csiph-web