Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'url:pypi': 0.03; 'handler': 0.04; 'subject:ANN': 0.07; 'cached': 0.09; 'received:localnet': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.10; 'exception': 0.13; 'caching': 0.16; 'handlers.': 0.16; 'received:10.128': 0.16; 'memory': 0.17; 'subject:] ': 0.19; 'module': 0.25; 'header:User-Agent:1': 0.26; 'logging': 0.27; 'crash': 0.29; 'project:': 0.29; 'allows': 0.30; "i'm": 0.30; 'url:python': 0.33; 'common': 0.33; 'url:dev': 0.35; 'level': 0.35; 'needed': 0.36; 'url:org': 0.36; 'received:10': 0.37; 'log': 0.38; 'subject:[': 0.39; 'to:addr:python.org': 0.40; 'hello,': 0.40; 'received:194': 0.61; 'note:': 0.66; 'records,': 0.67; 'situation': 0.67; 'header:Reply-To:1': 0.67; 'records': 0.70; 'reply-to:no real name:2**0': 0.71; 'url:readthedocs': 0.84; 'url:fr': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail1; t=1442832980; bh=7WPT/at4kisRQxRvTr+o4Pd6wE7YZYwGYpawRzOtjjY=; h=From:To:Reply-To:Subject:Date; b=P1u/amv9o2z3eHO8wC/+ANlcXGjawQY114K5/9uZLep7ftnUQeJFYWwA6TSJCDn8U BMcUVjHka+lJxn0B0AOOieOrbyvGMHjeOgVdHbFZ2Dp0DCGCTi10xfBbVwXhR23AmD diaKs19+kBV2/wYq4kZXUGPavenBMTovP1bW8WHgY9Yd0n8b+ZA9Faqa6xewJt8HL6 hbtgLozPkT9ufP0KDV00khQaU90XfkfSM80QSllWhp1kmSt0KWOV7DLJN5C0uL/W9q QL/aSX0KvxhaGfVHBOuJSdRqpm0oznyIGr5tK00R3NMKM9FYlKRKKFrO5Y4XMgoCH8 jL58c/T2EDo3g== From: Laurent Pointal To: python-announce-list@python.org Reply-To: laurent.pointal@laposte.net Subject: [ANN] bbrecorder - a black box handler for logs Date: Mon, 21 Sep 2015 12:56:23 +0200 User-Agent: KMail/4.13.3 (Linux/3.13.0-63-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-VR-SrcIP: 129.175.156.109 X-VR-FullState: 0 X-VR-Score: 0 X-VR-Cause-1: gggruggvucftvghtrhhoucdtuddrfeekgedrfeekgdefjecutefuodetggdotefrucfrrhhofhhilhgv X-VR-Cause-2: mecunfetrffquffvgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfhrufffkfgfggfg X-VR-Cause-3: tgesthhqredttdeijeenucfhrhhomhepnfgruhhrvghnthcurfhoihhnthgrlhcuoehlrghurhgvnhht X-VR-Cause-4: rdhpohhinhhtrghlsehlrghpohhsthgvrdhnvghtqeenucffohhmrghinheprhgvrgguthhhvgguohgt X-VR-Cause-5: shdrohhrghdplhhimhhsihdrfhhrpdhphihthhhonhdrohhrghenucfrrghrrghmpehmohguvgepshhm X-VR-Cause-6: thhpohhuthdphhgvlhhopehsohhuphhirhdrlhhotggrlhhnvghtpdhinhgvthepuddvledrudejhedr X-VR-Cause-7: udehiedruddtledpmhgrihhlfhhrohhmpehlrghurhgvnhhtrdhpohhinhhtrghlsehlrghpohhsthgv X-VR-Cause-8: rdhnvghtpdhrtghpthhtohepphihthhhohhnqdgrnhhnohhunhgtvgdqlhhishhtsehphihthhhonhdr X-VR-Cause-9: ohhrgh X-VR-AvState: No X-VR-State: 0 X-Mailman-Approved-At: Mon, 21 Sep 2015 13:21:38 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442834499 news.xs4all.nl 23834 [2001:888:2000:d::a6]:50366 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:1864 Hello, I'm please to annouce the availability of bbrecorder module and its=20 BlackBoxHandler logging handler for Python 3 (tested on 3.4). This logging handler manage caching of last N log records in memory unt= il they=20 are needed =E2=80=94 and then generate them using standard common Pytho= n logging=20 handlers. It allows to enable a log level generating many log records, and only g= et last=20 records when a crisis situation occur (typically in an exception handle= r). Note: in case of hard Python crash (core dump), cached logs are lost ! = =E2=80=94 see=20 important note in doc. PyPI: https://pypi.python.org/pypi/bbrecorder/ Docs: http://bbrecorder.readthedocs.org/ Project: https://perso.limsi.fr/pointal/dev:bbrecorder A+ L.Pointal.