{ "info": { "author": "Igor `idle sign` Starikov", "author_email": "idlesign@yandex.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "systemd-logging\n===============\nhttps://github.com/idlesign/systemd-logging\n\n|release| |lic| |ci| |coverage|\n\n.. |release| image:: https://img.shields.io/pypi/v/systemd-logging.svg\n :target: https://pypi.python.org/pypi/systemd-logging\n\n.. |lic| image:: https://img.shields.io/pypi/l/systemd-logging.svg\n :target: https://pypi.python.org/pypi/systemd-logging\n\n.. |ci| image:: https://img.shields.io/travis/idlesign/systemd-logging/master.svg\n :target: https://travis-ci.org/idlesign/systemd-logging\n\n.. |coverage| image:: https://img.shields.io/coveralls/idlesign/systemd-logging/master.svg\n :target: https://coveralls.io/r/idlesign/systemd-logging\n\n\nDescription\n-----------\n\n*Simplifies logging for systemd*\n\n**Requires Python 3.6+**\n\n* No need to compile (pure Python), uses ``libsystemd.so``.\n* Simplified configuration.\n* Just logging. Nothing more.\n\n\nUsage\n-----\n\n.. code-block:: python\n\n import logging\n\n from systemdlogging.toolbox import init_systemd_logging\n\n # This one line in most cases would be enough.\n init_systemd_logging()\n # By default it attaches systemd logging handler to a root Python logger.\n\n # Now you can use logging as usual.\n logger = logging.getLogger(__name__)\n logger.setLevel(logging.DEBUG)\n\n logger.debug('My debug message')\n\n try:\n raise ValueError('Log me please')\n\n except ValueError:\n # Additional context can be passed in extra.context.\n logger.exception('Something terrible just happened', extra={\n 'message_id': True, # Generate message ID automatically.\n 'context': {\n 'FIELD1': 'one',\n 'FIELD2': 'two',\n }\n }, stack_info=True)\n\n\nRead the docs to find out more.\n\n\nDocumentation\n-------------\n\nhttps://systemd-logging.readthedocs.org/\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/idlesign/systemd-logging", "keywords": "", "license": "BSD 3-Clause License", "maintainer": "", "maintainer_email": "", "name": "systemd-logging", "package_url": "https://pypi.org/project/systemd-logging/", "platform": "", "project_url": "https://pypi.org/project/systemd-logging/", "project_urls": { "Homepage": "https://github.com/idlesign/systemd-logging" }, "release_url": "https://pypi.org/project/systemd-logging/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Simplifies logging for systemd", "version": "0.2.0" }, "last_serial": 5976491, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ecb8723af3ae137441830fa47a93a4b3", "sha256": "e9ca725af023ed138082380d9559cf8b3e566d4266502a35d8844fb6d8b858b3" }, "downloads": -1, "filename": "systemd_logging-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecb8723af3ae137441830fa47a93a4b3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6046, "upload_time": "2019-10-14T13:35:16", "url": "https://files.pythonhosted.org/packages/f0/ee/a5a76f63b3cad6d39191d27cae76be94e83e62f408f3f73f47f9800c6816/systemd_logging-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "915e232ad2b47eacb95d27b63a2b0049", "sha256": "7d42320602f71eef42325aa4544bea2a1e5e2a54f17eb3df8ba8c95d2ab49702" }, "downloads": -1, "filename": "systemd-logging-0.1.0.tar.gz", "has_sig": false, "md5_digest": "915e232ad2b47eacb95d27b63a2b0049", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11209, "upload_time": "2019-10-14T13:35:13", "url": "https://files.pythonhosted.org/packages/25/89/bce12ab164476056887ad2a386dcec5421af55274067b731ebf68380bbf9/systemd-logging-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dbc6a82a1f5c35fa927070c3e89cfaeb", "sha256": "2473915319b1bd3578090c26a930096b38f3bdf5b3064b9d6f2fb28eb526e2e8" }, "downloads": -1, "filename": "systemd_logging-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbc6a82a1f5c35fa927070c3e89cfaeb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6134, "upload_time": "2019-10-15T12:00:44", "url": "https://files.pythonhosted.org/packages/e7/0f/751616c42952f710cc9cd44f6666c1b7f72017dc44569046abf6e1ebdbaa/systemd_logging-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc30af9ee975d4f1ac9144a837013b40", "sha256": "9c5dccbf9996e2461a1f29752c0e3e7011d9a47a8f4741a43045f7b1738217e5" }, "downloads": -1, "filename": "systemd-logging-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cc30af9ee975d4f1ac9144a837013b40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11359, "upload_time": "2019-10-15T12:00:41", "url": "https://files.pythonhosted.org/packages/53/d3/45eef1ee2680f8c5fb3d1882959285bf26d18a586cffb0bcff54ddacfd79/systemd-logging-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dbc6a82a1f5c35fa927070c3e89cfaeb", "sha256": "2473915319b1bd3578090c26a930096b38f3bdf5b3064b9d6f2fb28eb526e2e8" }, "downloads": -1, "filename": "systemd_logging-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbc6a82a1f5c35fa927070c3e89cfaeb", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6134, "upload_time": "2019-10-15T12:00:44", "url": "https://files.pythonhosted.org/packages/e7/0f/751616c42952f710cc9cd44f6666c1b7f72017dc44569046abf6e1ebdbaa/systemd_logging-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc30af9ee975d4f1ac9144a837013b40", "sha256": "9c5dccbf9996e2461a1f29752c0e3e7011d9a47a8f4741a43045f7b1738217e5" }, "downloads": -1, "filename": "systemd-logging-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cc30af9ee975d4f1ac9144a837013b40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11359, "upload_time": "2019-10-15T12:00:41", "url": "https://files.pythonhosted.org/packages/53/d3/45eef1ee2680f8c5fb3d1882959285bf26d18a586cffb0bcff54ddacfd79/systemd-logging-0.2.0.tar.gz" } ] }