./sysutils/py-structlog, Painless structural logging

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 18.1.0, Package name: py27-structlog-18.1.0, Maintainer: pkgsrc-users

structlog makes structured logging in Python easy by augmenting your existing
logger. It allows you to split your log entries up into key/value pairs and
build them incrementally without annoying boilerplate code.


Required to run:
[devel/py-setuptools] [lang/python27] [lang/py-six]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d26b0c82f99ada0a7587846abbe64eb10f4e50ba
RMD160: e726ab73e8ff3a2d985bed89c2cba643ea3a8d98
Filesize: 309.603 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-06 09:09:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-structlog: updated to 18.1.0

18.1.0:
Deprecations:
- The meaning of the structlog[dev] installation target will change from \ 
"colorful output" to "dependencies to develop structlog" in \ 
19.1.0.
  The main reason behind this decision is that it's impossible to have a \ 
structlog in your normal dependencies and additionally a structlog[dev] for \ 
developement (pip will report an error).

Changes:
- Empty strings are valid events now.
- Do not encapsulate Twisted failures twice with newer versions of Twisted.
- structlog.dev.ConsoleRenderer now accepts a *force_colors* argument to output \ 
colored logs even if the destination is not a tty.
  Use this option if your logs are stored in files that are intended to be \ 
streamed to the console.
- structlog.dev.ConsoleRenderer now accepts a *level_styles* argument for \ 
overriding the colors for individual levels, as well as to add new levels.
- structlog.stdlib.BoundLogger.exception() now uses the exc_info argument if it \ 
has been passed instead of setting it unconditionally to True.
- Default configuration now uses plain dict\ s on Python 3.6+ and PyPy since \ 
they are ordered by default.
- Added structlog.is_configured() to check whether or not structlog has been \ 
configured.
- Added structlog.get_config() to introspect current configuration.
   2017-10-07 13:18:28 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-structlog: update to 17.2.0

17.2.0:
- ``structlog.stdlib.ProcessorFormatter`` now accepts *keep_exc_info* and \ 
*keep_stack_info* arguments to control what to do with this information on log \ 
records.
  Most likely you want them both to be ``False`` therefore it's the default.
- ``structlog.stdlib.add_logger_name()`` now works in \ 
``structlog.stdlib.ProcessorFormatter``'s ``foreign_pre_chain``.
- Clear log record args in ``structlog.stdlib.ProcessorFormatter`` after rendering.
  This fix is for you if you tried to use it and got ``TypeError: not all \ 
arguments converted during string formatting`` exceptions.
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-04-03 00:23:31 by Blue Rats | Files touched by this commit (2)
Log message:
=========
Changelog
=========

- :release:`15.1.0 <2015-02-24>`
- :bug:`- major` Tolerate frames without a ``__name__``.
- :release:`15.0.0 <2015-01-23>`
- :feature:`44` Add :func:`structlog.stdlib.add_log_level` and \ 
:func:`structlog.stdlib.add_logger_name` processors.
- :feature:`42` Add :func:`structlog.stdlib.BoundLogger.log`.
- :feature:`19` Pass positional arguments to stdlib wrapped loggers that use \ 
string formatting.
- :feature:`28` structlog is now dually licensed under the `Apache License, \ 
Version 2 <http://choosealicense.com/licenses/apache-2.0/>`_ and the `MIT \ 
<http://choosealicense.com/licenses/mit/>`_ license.
  Therefore it is now legal to use structlog with `GPLv2 \ 
<http://choosealicense.com/licenses/gpl-2.0/>`_-licensed projects.
- :feature:`22` Add :func:`structlog.stdlib.BoundLogger.exception`.
   2014-12-06 17:20:26 by Blue Rats | Files touched by this commit (4)
Log message:
Import py27-structlog-0.4.2 as sysutils/py-structlog.

structlog makes structured logging in Python easy by augmenting your existing
logger. It allows you to split your log entries up into key/value pairs and
build them incrementally without annoying boilerplate code.