Graylog logging handler for Plone
Project description
collective.pygelf
=================
Provides ZConfig_-compatible logger handler factories for
`Graylog Extended Log Format`__.
__ http://docs.graylog.org/en/latest/pages/gelf.html
.. code:: python
Usage with `plone.recipe.zope2instance`_:
.. _ZConfig: https://pypi-hypernode.com/pypi/ZConfig
.. _plone.recipe.zope2instance: https://pypi-hypernode.com/pypi/plone.app.zope2instance
.. code:: ini
[instance]
...
event-log-custom =
%import collective.gelf
<gelfudp>
host 127.0.0.1
port 9401
custom app_name=Zope buildout=example.com
</gelfudp>
Available GELF hander types are ``gelfudp``, ``gelftcp`` and ``gelftls``. See
pygelf_-documentation for available configuration options.
.. _pygelf: https://pypi-hypernode.com/pypi/pygelf
Custom fields with static values can be defined with ``custom`` option,
which accepts space separated list of ``fieldname=staticvalue`` pairs.
Changelog
=========
0.9.0 (2016-04-05)
------------------
- First release.
=================
Provides ZConfig_-compatible logger handler factories for
`Graylog Extended Log Format`__.
__ http://docs.graylog.org/en/latest/pages/gelf.html
.. code:: python
Usage with `plone.recipe.zope2instance`_:
.. _ZConfig: https://pypi-hypernode.com/pypi/ZConfig
.. _plone.recipe.zope2instance: https://pypi-hypernode.com/pypi/plone.app.zope2instance
.. code:: ini
[instance]
...
event-log-custom =
%import collective.gelf
<gelfudp>
host 127.0.0.1
port 9401
custom app_name=Zope buildout=example.com
</gelfudp>
Available GELF hander types are ``gelfudp``, ``gelftcp`` and ``gelftls``. See
pygelf_-documentation for available configuration options.
.. _pygelf: https://pypi-hypernode.com/pypi/pygelf
Custom fields with static values can be defined with ``custom`` option,
which accepts space separated list of ``fieldname=staticvalue`` pairs.
Changelog
=========
0.9.0 (2016-04-05)
------------------
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
collective.gelf-0.9.0.tar.gz
(2.7 kB
view hashes)