{ "info": { "author": "Jesse Adametz - Graphiq Data Engineering", "author_email": "jesse@graphiq.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: System :: Logging" ], "description": "GIQLogging\n==========\n\n.. image:: https://travis-ci.org/graphiq-data/GIQLogging.svg?branch=master\n :target: https://travis-ci.org/graphiq-data/GIQLogging\n\n.. image:: https://badge.fury.io/py/giqlogging.svg\n :target: https://badge.fury.io/py/giqlogging\n\nGIQLogging is a lightweight logging initializer to promote standardized log formats across services. It wraps the functionality of ``logging`` with formatting provided by `Exoscale's `_ `python-logstash-formatter `_.\n\n.. code-block:: python\n\n import GIQLogging\n logging = GIQLogging.init(logstash_type='servicename',\n level=GIQLogging.INFO,\n logpath='/path/to/log/output',\n logger_name='servicename',\n extra_fields={'foo': 'bar', 'hello': 'world'})\n logging.info('log message')\n\nInstallation\n------------\n\nTo install GIQLogging, simply:\n\n.. code-block:: bash\n\n pip install GIQLogging\n\nAssumptions\n-----------\n\n- In Graphiq's case, GIQLogging is specifically intended for services to log JSON output to be picked up and visualized using an ELK (Elasticsearch, Logstash & Kibana) stack. As such, we require the ``logstash_type`` value to be set upon initialization. This value is placed as an ``extra_field`` and output to each log entry for later use by Logstash.\n- The default ``level`` if one is not provided is ``logging.DEBUG``\n- If a ``logpath`` is not provided the log will be directed to ``sys.stdout``\n- ``logger_name`` is optional, only necessary if initializing multiple loggers\n- ``extra_fields`` are optional\n\nIssues\n------\n\nPlease submit issues `here `_.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/graphiq-data/GIQLogging", "keywords": "logging logstash_formatter", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "GIQLogging", "package_url": "https://pypi.org/project/GIQLogging/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/GIQLogging/", "project_urls": { "Homepage": "https://github.com/graphiq-data/GIQLogging" }, "release_url": "https://pypi.org/project/GIQLogging/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "Lightweight logstash_formatter logging initializer", "version": "1.0.4" }, "last_serial": 2036720, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d4fec45d20bdf46ca5703bcd799bd9c6", "sha256": "d9a8945b25e54531f916cc6a828095e7fc7afac2fe7e109bd7556838551d3b57" }, "downloads": -1, "filename": "GIQLogging-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d4fec45d20bdf46ca5703bcd799bd9c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2476, "upload_time": "2016-03-21T22:06:41", "url": "https://files.pythonhosted.org/packages/2b/20/daf907502ea79a38daf5c88515d97200a91dd67c21b0ad720d5a7ecfaa66/GIQLogging-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "e63fb923db689e368e99dcf578966138", "sha256": "dd80b77d9712e648286bf374ee2e913459e43a4c10fce0ae8ce7e1f299a6ac34" }, "downloads": -1, "filename": "GIQLogging-1.0.2.tar.gz", "has_sig": false, "md5_digest": "e63fb923db689e368e99dcf578966138", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2707, "upload_time": "2016-03-28T18:52:55", "url": "https://files.pythonhosted.org/packages/92/ed/730fc0dc731fe367d29becea2ac1d787f95e8b8ef41487ca61c16c9ebc23/GIQLogging-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "32e9e7c70161b2ba8f832e2622c65bde", "sha256": "881237f09c0a7d9886dcc68bc0e32678efb107e8641f3d2e9d5f5976e4d30c84" }, "downloads": -1, "filename": "GIQLogging-1.0.3.tar.gz", "has_sig": false, "md5_digest": "32e9e7c70161b2ba8f832e2622c65bde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3625, "upload_time": "2016-03-30T19:37:08", "url": "https://files.pythonhosted.org/packages/a6/39/637cf538c4b10bae0c6a1c186211a861c2103e1143aec5ff036ed8a6c08d/GIQLogging-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "858b118decfa169750b74f01ac158811", "sha256": "bf14b5a51608b84249f4c9f485a829a734decfef6e31494841b827d215087430" }, "downloads": -1, "filename": "GIQLogging-1.0.4.tar.gz", "has_sig": false, "md5_digest": "858b118decfa169750b74f01ac158811", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3624, "upload_time": "2016-03-30T19:50:33", "url": "https://files.pythonhosted.org/packages/c2/97/c7c6f9832731e6483aac7bd17d44fa5578d0f2d5e6be93c7ea95c2d4f16c/GIQLogging-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "858b118decfa169750b74f01ac158811", "sha256": "bf14b5a51608b84249f4c9f485a829a734decfef6e31494841b827d215087430" }, "downloads": -1, "filename": "GIQLogging-1.0.4.tar.gz", "has_sig": false, "md5_digest": "858b118decfa169750b74f01ac158811", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3624, "upload_time": "2016-03-30T19:50:33", "url": "https://files.pythonhosted.org/packages/c2/97/c7c6f9832731e6483aac7bd17d44fa5578d0f2d5e6be93c7ea95c2d4f16c/GIQLogging-1.0.4.tar.gz" } ] }