Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #2587
| Path | csiph.com!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Preston Landers <planders@gmail.com> |
| Newsgroups | comp.lang.python.announce |
| Subject | concurrent-log-handler 0.9.6 released |
| Date | Sun, 30 Jul 2017 10:23:32 -0500 |
| Lines | 70 |
| Approved | python-announce-list@python.org |
| Message-ID | <mailman.20.1501675385.28999.python-announce-list@python.org> (permalink) |
| References | <CAKgs+RVmDGkzV_m+bAJ-DrhAGb+o0esa9MRR4wK6wykeVPYnTw@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | news.uni-berlin.de GJdJysxDI6y3SfcuJvHBsQSqj3MZU3yegpLMGmTOJGLQ== |
| Return-Path | <planders@gmail.com> |
| X-Original-To | python-announce-list@python.org |
| Delivered-To | python-announce-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'handler': 0.05; 'url:github': 0.05; 'dependency': 0.07; 'desired.': 0.07; 'filenames': 0.07; 'fixes': 0.07; 'prefix': 0.07; 'pypi': 0.07; 'setup.py': 0.07; 'subject:released': 0.07; 'optional': 0.09; 'puts': 0.09; 'pywin32': 0.09; 'thread.': 0.09; 'python': 0.09; 'compress': 0.16; 'concurrency,': 0.16; 'posix': 0.16; 'refactoring': 0.16; 'renamed': 0.16; 'specifier': 0.16; 'supported.': 0.16; 'skip:` 20': 0.18; 'tests': 0.18; 'windows': 0.19; 'changes': 0.20; 'background.': 0.20; 'versions': 0.22; 'explicit': 0.22; 'skip:` 10': 0.22; "python's": 0.23; 'fix': 0.23; 'installed': 0.24; 'skip:= 10': 0.24; 'message- id:@mail.gmail.com': 0.24; 'thanks,': 0.25; 'logging': 0.27; 'reaches': 0.27; "can't": 0.29; 'fork': 0.29; 'queue': 0.29; 'random': 0.31; 'install': 0.31; 'received:google.com': 0.32; 'url:python': 0.32; 'handling': 0.32; 'problem': 0.33; 'safely': 0.33; 'skip:= 20': 0.33; 'but': 0.34; 'front': 0.35; 'newer': 0.35; 'file': 0.35; 'initial': 0.35; 'option': 0.35; 'url:org': 0.36; 'certain': 0.37; 'available.': 0.37; 'release': 0.38; 'add': 0.38; 'subject:-': 0.38; 'received:io': 0.38; 'received:psf.io': 0.38; 'proto:https': 0.39; 'received:ams1.psf.io': 0.39; 'received:mail1.ams1.psf.io': 0.39; 'to:addr:python.org': 0.40; 'standard': 0.40; 'issue': 0.40; 'behavior': 0.60; 'more': 0.62; 'note:': 0.65; 'news': 0.65; 'to:addr:python-announce-list': 0.71; 'race': 0.76; 'optional:': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=REvDzhwYaKTu4zbOU7AHAo+plRQTww+5mek1X4sLvyw=; b=tS0XX0jECMhK9iVV71p7lK2JzfL0tf216WHVSTMM3RrL8NaZ0g1cmbYdO3Wohe06hO kZpOs4O/lRJ4sGvskOVYlI3+9BP3ilEZPQoPKvqJkiYbUMA3fI+N5LU2mf3m79XSKZnB Ua5NMzw2GF3hZnKrCYpujsI9MUgwiij7UBhiv2ehwKBY8UgxSyF7xfknk1h71be/dU9Y otI9daum7RI0+1ivn///U3QB8unuPnI/p7Aa5v01RVKppkHK0A5Y8/5RvmjV2fPGRANp MbZeZbgEWl2Qrt4aOqBIKk4CTc+JSBogu/4dSPZ+IgJsb4q2avn/WkT7KFM3vSQHG8Bk XYMw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=REvDzhwYaKTu4zbOU7AHAo+plRQTww+5mek1X4sLvyw=; b=iHbjhQBl/Q4v2Y5N7dDpr2K43G3Eg1hAYMBrqWytRauqAaEIcMeL1IXHd+ZvtUqEng CBjants1ENuev4bQH9JXT2luuBZacHzGu/mItTPPvQMKlXfRclXfyHtaFcKc9W01lyJQ TI5Ip8aVterGArHXg7tFJUVu56PhKqRp54bo/Bt7zIx9B/K7pMDwXN1cxXeCAEdPORil EmwIbKy3f/OLNMieChF9Q5Vrce2gw0Me1NKTCy3QFOHCpOU4JlVtt6MJqayXVQVdK4lA vrgGRw3AzV8ewmqHB+KUOH1iPSnJUu1Yr1F4kJNatWRE+In5VCdKbnhtQGTo6zJpwxdW MFSg== |
| X-Gm-Message-State | AIVw111oAtD9BttS0IB0EFuxSyQeHpC6vF4+xAz+VC0v9+3mErHOs6TI jFyfOTjBaXqQ0wgNICf2dRiSNGM2rBR74J0= |
| X-Received | by 10.55.215.194 with SMTP id t63mr6191198qkt.221.1501428233340; Sun, 30 Jul 2017 08:23:53 -0700 (PDT) |
| X-Mailman-Approved-At | Wed, 02 Aug 2017 08:03:03 -0400 |
| X-BeenThere | python-announce-list@python.org |
| X-Mailman-Version | 2.1.24 |
| Precedence | list |
| List-Id | Announcement-only list for the Python programming language <python-announce-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-announce-list/> |
| List-Post | <mailto:python-announce-list@python.org> |
| List-Help | <mailto:python-announce-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAKgs+RVmDGkzV_m+bAJ-DrhAGb+o0esa9MRR4wK6wykeVPYnTw@mail.gmail.com> |
| Xref | csiph.com comp.lang.python.announce:2587 |
Show key headers only | View raw
concurrent-log-handler
======================
RotatingFileHandler replacement with concurrency, gzip and Windows support
--------------------------------------------------------------------------
This package provides an additional log handler for Python's standard logging
package (PEP 282). This handler will write log events to a log file which is
rotated when the log file reaches a certain size. Multiple processes can
safely write to the same log file concurrently. Rotated logs can be gzipped
if desired. Windows and POSIX systems are supported. An optional threaded
queue logging handler is provided to perform logging in the background.
This is a fork of Lowell Alleman's ConcurrentLogHandler 0.9.1 with additional
enhancements:
* Renamed package to `concurrent_log_handler`
* Provide `use_gzip` option to compress rotated logs
* Support for Windows
* Note: PyWin32 is required on Windows, but can't be installed as an
automatic dependency because it's not currently installable through pip.
* Fix deadlocking problem with ConcurrentLogHandler under newer Python
* More secure generation of random numbers for temporary filenames
* Change the name of the lockfile to have .__ in front of it (hide it on Posix)
* Provide a QueueListener / QueueHandler implementation for
handling log events in a background thread. Optional: requires Python 3.
Download
========
`pip install concurrent-log-handler`
https://github.com/Preston-Landers/concurrent-log-handler
https://pypi.python.org/pypi/concurrent-log-handler
News / Changes
==============
- 0.9.7/0.9.6: Fix platform specifier for PyPi
- 0.9.5: Add `use_gzip` option to compress rotated logs. Add an
optional threaded
logging queue handler based on the standard library's `logging.QueueHandler`.
- 0.9.4: Fix setup.py to not include tests in distribution.
- 0.9.3: Refactoring release
* For publishing fork on pypi as `concurrent-log-handler` under new
package name.
* NOTE: PyWin32 is required on Windows but is not an explicit
dependency because
the PyWin32 package is not currently installable through pip.
* Fix lock behavior / race condition
- 0.9.2: Initial release of fork by Preston Landers based on a fork of
Lowell Alleman's
ConcurrentLogHandler 0.9.1
* Fixes deadlocking issue with recent versions of Python
* Puts `.__` prefix in front of lock file name
* Use `secrets` or `SystemRandom` if available.
* Add/fix Windows support
thanks,
Preston
Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread
concurrent-log-handler 0.9.6 released Preston Landers <planders@gmail.com> - 2017-07-30 10:23 -0500
csiph-web