{ "info": { "author": "Marcin Karkocha", "author_email": "kivio@kivio.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development", "Topic :: System :: Logging", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "|Documentation Status| |Coverage Status| |Build Status|\r\n\r\nPysllo\r\n======\r\n\r\nMake your python logging more structured and easy to aggregate using all\r\nfeatures of pysllo. Pysllo is set of useful python logging extenders\r\nthat make possible saving logs into StackLight with possibility of flow\r\ntracking, data binding and raising all logs if error occurs.\r\n\r\nFor more information go to documentation on\r\n`ReadTheDocs `__.\r\n\r\nQuick start\r\n-----------\r\n\r\n.. code:: bash\r\n\r\n pip install pysllo\r\n\r\nFeatures\r\n--------\r\n\r\n- StructuredLogger\r\n- PropagationLogger\r\n- TrackingLogger\r\n- JsonFormatter\r\n- ElasticSearchUDPHandler\r\n\r\nExample\r\n-------\r\n\r\n.. code:: python\r\n\r\n from pysllo.handlers import ElasticSearchUDPHandler\r\n from pysllo.formatters import JsonFormatter\r\n from pysllo.utils import LoggersFactory\r\n\r\n # configuration\r\n host, port, limit = 'localhost', 9000\r\n handler = ElasticSearchUDPHandler([(host, port)])\r\n formatter = JsonFormatter()\r\n handler.setFormatter(formatter)\r\n MixedLogger = LoggersFactory.make(\r\n tracking_logger=True,\r\n propagation_logger=True,\r\n structured_logger=True\r\n )\r\n logger = MixedLogger('test')\r\n logger.addHandler(handler)\r\n \r\n # examlpe usage\r\n msg = \"TEST\"\r\n logger.bind(ip='127.0.0.1')\r\n logger.debug(msg, user=request.user)\r\n\r\n.. |Documentation Status| image:: https://readthedocs.org/projects/pysllo/badge/?version=latest\r\n :target: http://pysllo.readthedocs.io/en/latest/?badge=latest\r\n.. |Coverage Status| image:: https://coveralls.io/repos/github/kivio/pysllo/badge.svg?branch=master\r\n :target: https://coveralls.io/github/kivio/pysllo?branch=master\r\n.. |Build Status| image:: https://travis-ci.org/kivio/pysllo.svg?branch=master\r\n :target: https://travis-ci.org/kivio/pysllo", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/kivio/pysllo", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pysllo.readthedocs.io/", "keywords": "logging development utilities administrative monitoring", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "pysllo", "package_url": "https://pypi.org/project/pysllo/", "platform": "", "project_url": "https://pypi.org/project/pysllo/", "project_urls": { "Download": "https://github.com/kivio/pysllo", "Homepage": "http://pysllo.readthedocs.io/" }, "release_url": "https://pypi.org/project/pysllo/0.1/", "requires_dist": null, "requires_python": null, "summary": "Make your python logging more structured and easy to aggregate", "version": "0.1" }, "last_serial": 2180927, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "bbd072f1d368d87fdcea570e19deeb45", "sha256": "6188044739e361fddc60d8b0924fdf125c3a21455844d099870214601bbe78ee" }, "downloads": -1, "filename": "pysllo-0.1.tar.gz", "has_sig": false, "md5_digest": "bbd072f1d368d87fdcea570e19deeb45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7702, "upload_time": "2016-06-22T09:49:26", "url": "https://files.pythonhosted.org/packages/2f/6a/0fef289c0b297d12d9926c6dbd835965e1668fe735470ce2b250cc5e8acb/pysllo-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bbd072f1d368d87fdcea570e19deeb45", "sha256": "6188044739e361fddc60d8b0924fdf125c3a21455844d099870214601bbe78ee" }, "downloads": -1, "filename": "pysllo-0.1.tar.gz", "has_sig": false, "md5_digest": "bbd072f1d368d87fdcea570e19deeb45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7702, "upload_time": "2016-06-22T09:49:26", "url": "https://files.pythonhosted.org/packages/2f/6a/0fef289c0b297d12d9926c6dbd835965e1668fe735470ce2b250cc5e8acb/pysllo-0.1.tar.gz" } ] }