{ "info": { "author": "Opbeat, Inc", "author_email": "support@opbeat.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=============================\npython-logging-json-formatter\n=============================\n\n.. image:: https://img.shields.io/travis/opbeat/python-logging-json-formatter.svg\n :target: https://travis-ci.org/opbeat/python-logging-json-formatter\n\n.. image:: https://img.shields.io/pypi/v/python-logging-json-formatter.svg\n :target: https://pypi.python.org/pypi/python-logging-json-formatter\n\n\nA logging Formatter that appends extra data as JSON, e.g. for loggly\n\nUSAGE\n--------\n\nUsing `dictConfig`\n==================\n\n.. code::\n\n import logging.config\n\n logging.config.dictConfig({\n 'version': 1,\n 'formatters': {\n 'append_json': {\n '()': 'logging_json_formatter.AppendJSONFormatter',\n 'format': '%(asctime)s %(name)s %(levelname)s %(funcName)s %(filename)s:%(lineno)s %(message)s',\n\n # only use a specific set of keys\n 'limit_keys_to': ['org_uuid', 'app_uuid'],\n\n # force keys that are ignored by default\n 'force_keys': ('levelname', 'lineno'),\n }\n },\n 'handlers': {\n 'syslog': {\n 'level': 'ERROR',\n 'class': 'logging.handlers.SysLogHandler'\n 'address': '/dev/log',\n 'formatter': 'append_json'\n },\n },\n }", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/opbeat/python-logging-json-formatter", "keywords": "logging,json,loggly", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "python-logging-json-formatter", "package_url": "https://pypi.org/project/python-logging-json-formatter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-logging-json-formatter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/opbeat/python-logging-json-formatter" }, "release_url": "https://pypi.org/project/python-logging-json-formatter/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "A logging formatter that appends extra data as JSON, e.g. for loggly", "version": "0.1.0" }, "last_serial": 1738462, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a694dce09334a148b2b182601ba9fe05", "sha256": "92a1de38130580516e5cde9fdb4fb32dbca3b36905e811c22562662b309f8c8e" }, "downloads": -1, "filename": "python_logging_json_formatter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a694dce09334a148b2b182601ba9fe05", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4578, "upload_time": "2015-09-25T14:52:33", "url": "https://files.pythonhosted.org/packages/c6/e8/2d1a7a117eef998cb299749d590ed2b7339ed9c0fa8c6c88df4394bf8c1a/python_logging_json_formatter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bf2e66875bb5ee08e5ad9b8c8753607", "sha256": "39078cb87291bfdcda6e763eb33c87250080414fcc23f86f68a97b50d9391e61" }, "downloads": -1, "filename": "python-logging-json-formatter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3bf2e66875bb5ee08e5ad9b8c8753607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4356, "upload_time": "2015-09-25T14:52:02", "url": "https://files.pythonhosted.org/packages/e8/2f/116a7d04351cf1e2a428eabd4b0ea0ee8520b45cece163fded796900ac20/python-logging-json-formatter-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a694dce09334a148b2b182601ba9fe05", "sha256": "92a1de38130580516e5cde9fdb4fb32dbca3b36905e811c22562662b309f8c8e" }, "downloads": -1, "filename": "python_logging_json_formatter-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a694dce09334a148b2b182601ba9fe05", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4578, "upload_time": "2015-09-25T14:52:33", "url": "https://files.pythonhosted.org/packages/c6/e8/2d1a7a117eef998cb299749d590ed2b7339ed9c0fa8c6c88df4394bf8c1a/python_logging_json_formatter-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3bf2e66875bb5ee08e5ad9b8c8753607", "sha256": "39078cb87291bfdcda6e763eb33c87250080414fcc23f86f68a97b50d9391e61" }, "downloads": -1, "filename": "python-logging-json-formatter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "3bf2e66875bb5ee08e5ad9b8c8753607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4356, "upload_time": "2015-09-25T14:52:02", "url": "https://files.pythonhosted.org/packages/e8/2f/116a7d04351cf1e2a428eabd4b0ea0ee8520b45cece163fded796900ac20/python-logging-json-formatter-0.1.0.tar.gz" } ] }