osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

concurrent-log-handler 0.9.6 released


Pypiwin32 exists to allow pywin32 to be installed through pip (thanks to
Glyph and the Twisted project for supporting that)

> -----Original Message-----
> From: Python-announce-list [mailto:python-announce-list-bounces+tritium-
> list=sdamon.com at python.org] On Behalf Of Preston Landers
> Sent: Sunday, July 30, 2017 11:24 AM
> To: python-announce-list at python.org
> Subject: concurrent-log-handler 0.9.6 released
> 
> 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
> --
> https://mail.python.org/mailman/listinfo/python-announce-list
> 
>         Support the Python Software Foundation:
>         http://www.python.org/psf/donations/