{ "info": { "author": "Mauro De Giorgi", "author_email": "mauro.degiorgi@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "============================\nSentry Logs |latest-version|\n============================\n\n|build-status| |health| |python-support| |license|\n\nSentry Logs allows you to send logs to Sentry. Only Nginx error log is\ncurrently supported, but extending the library to support more log files\nis planned.\n\n\n.. |latest-version| image:: https://img.shields.io/pypi/v/sentrylogs.svg\n :alt: Latest version on PyPI\n :target: https://pypi.python.org/pypi/sentrylogs\n.. |build-status| image:: https://travis-ci.org/mdgart/sentrylogs.svg?branch=master\n :alt: Build status\n :target: https://travis-ci.org/mdgart/sentrylogs\n.. |health| image:: https://landscape.io/github/mdgart/sentrylogs/master/landscape.svg?style=flat\n :target: https://landscape.io/github/mdgart/sentrylogs/master\n :alt: Code health\n.. |python-support| image:: https://img.shields.io/pypi/pyversions/sentrylogs.svg\n :target: https://pypi.python.org/pypi/sentrylogs\n :alt: Python versions\n.. |license| image:: https://img.shields.io/pypi/l/sentrylogs.svg\n :alt: Software license\n :target: https://github.com/mdgart/sentrylogs/blob/master/LICENSE.txt\n\nHow It Works\n============\n\nTo install *sentrylogs* you can use pip or easy_install:\n\n.. code-block:: bash\n\n $ pip install sentrylogs\n\n.. code-block:: bash\n\n $ easy_install sentrylogs\n\nThis will install the module and will provide a new console command:\n\n.. code-block:: bash\n\n $ sentrylogs -h\n\n usage: sentrylogs [-h] [--sentryconfig SENTRYCONFIG] [--sentrydsn SENTRYDSN]\n [--daemonize] [--follow FOLLOW]\n [--nginxerrorpath NGINXERRORPATH]\n\n Send logs to Django Sentry.\n\n optional arguments:\n -h, --help show this help message and exit\n --sentryconfig SENTRYCONFIG, -c SENTRYCONFIG\n A configuration file (.ini, .yaml) of some Sentry\n integration to extract the Sentry DSN from\n --sentrydsn SENTRYDSN, -s SENTRYDSN\n The Sentry DSN string (overrides -c)\n --daemonize, -d Run this script in background\n --follow FOLLOW, -f FOLLOW\n Which logs to follow, default ALL\n --nginxerrorpath NGINXERRORPATH, -n NGINXERRORPATH\n Nginx error log path\n\nSentry DSN\n----------\n\nWe need to provide a Sentry DSN to send messages to the Sentry server. There\nare 3 options to do this:\n\n#. Use the ``--sentryconfig`` command line argument to read the configuration\n file of your `Sentry integration`_, or\n#. Use the ``--sentrydsn`` command line argument to specify the DSN directly, or\n#. Provide an environment variable.\n\n.. code-block:: bash\n\n $ sentrylogs --sentryconfig /opt/myapp/config/pyramid.ini\n $ sentrylogs --sentrydsn 'protocol://public:secret@example.com/#'\n $ export SENTRY_DSN='protocol://public:secret@example.com/#' && sentrylogs\n\nLog File Location\n-----------------\n\nBy default *sentrylogs* will assume the nginx log at ``/var/log/nginx/error.log``.\nYou can change this using the ``--nginxerrorpath`` argument.\n\nRun as Daemon\n-------------\n\nIf you use ``--daemonize`` the command will daemonize itself and run in\nbackground.\n\n\n.. _Sentry integration: https://docs.getsentry.com/on-premise/clients/python/#deep-dive\n\nHow to Contribute\n=================\n\nPlease `open an issue`_ to discuss your plans for a `pull request`_. After\nwriting code make sure your changes pass our quality gate before you push.\n\n.. code-block:: bash\n\n $ tox\n $ python setup.py clean\n\nPlease write tests! Test coverage is still low and the code quality needs\nto improve. Please help by adding tests with each contribution you make!\n\n\n.. _open an issue: https://github.com/mdgart/sentrylogs/issues\n.. _pull request: https://github.com/mdgart/sentrylogs/pulls\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mdgart/sentrylogs", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "SentryLogs", "package_url": "https://pypi.org/project/SentryLogs/", "platform": "", "project_url": "https://pypi.org/project/SentryLogs/", "project_urls": { "Homepage": "https://github.com/mdgart/sentrylogs" }, "release_url": "https://pypi.org/project/SentryLogs/0.5.0/", "requires_dist": [ "sentry-sdk (<1.0.0,>=0.7.9)", "tailhead (>=1.0.2)" ], "requires_python": "", "summary": "Send logs from Nginx and other applications to Sentry.", "version": "0.5.0" }, "last_serial": 5857976, "releases": { "0.0.7": [ { "comment_text": "", "digests": { "md5": "08aa581b7b0e71b425f16fb312c3dfd8", "sha256": "533a1968d2c908293cdfd35df039aa2ca760b83eca42381963bd398dbca1cf58" }, "downloads": -1, "filename": "SentryLogs-0.0.7.tar.gz", "has_sig": false, "md5_digest": "08aa581b7b0e71b425f16fb312c3dfd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6900, "upload_time": "2012-12-18T17:27:44", "url": "https://files.pythonhosted.org/packages/47/68/346cac705775b5cf13108060f07203b03e235a011e9b570728610d10a6a9/SentryLogs-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "df075bf616368f9174f613bdbebf333b", "sha256": "5f665675b002239ec7db57b08ae4f47618eb0e80509252f58a797cb944ff4f65" }, "downloads": -1, "filename": "SentryLogs-0.0.8.tar.gz", "has_sig": false, "md5_digest": "df075bf616368f9174f613bdbebf333b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7147, "upload_time": "2013-01-16T17:26:07", "url": "https://files.pythonhosted.org/packages/63/c3/186dc84e7a01043f0cbb44b34fd40fae857d10a0125cb54ac26c586a6030/SentryLogs-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "658d1c7630814d941cdec1bfcd30c285", "sha256": "d909bd2d87422577a4e45df98f7a0c1abaf69767523f400c3ca7298e3327676b" }, "downloads": -1, "filename": "SentryLogs-0.0.9.tar.gz", "has_sig": false, "md5_digest": "658d1c7630814d941cdec1bfcd30c285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7197, "upload_time": "2013-02-19T17:48:02", "url": "https://files.pythonhosted.org/packages/8e/34/4f276e50f0d06f369e6af89aaee858f2478c6bb52dc64508f8c97809e3bd/SentryLogs-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "e23c3f959b28224cce97294d061c19b5", "sha256": "837c84aa53c46614fceea1d0ad744cb552d50fbd6806b2dbfbcd24dc73f6aaac" }, "downloads": -1, "filename": "SentryLogs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e23c3f959b28224cce97294d061c19b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7133, "upload_time": "2014-07-25T15:27:06", "url": "https://files.pythonhosted.org/packages/d1/70/6985c8128038af6b3bd8bcc0d2e84094a78b7dfd263118ea1d605a7a6c40/SentryLogs-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1347aad49aac3c42a43cf1852082e951", "sha256": "7dc132d9dcd96983b1550a5476f24373144a2e74cf45ab7bd4198d71a60ae491" }, "downloads": -1, "filename": "SentryLogs-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1347aad49aac3c42a43cf1852082e951", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12355, "upload_time": "2016-06-10T17:26:00", "url": "https://files.pythonhosted.org/packages/53/02/7761c39de3e2c7e65a1ef61477aec643be380deafd5f0b4842c414cbc347/SentryLogs-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "e181b7b65494ab56ca4954aff252173c", "sha256": "371c18bdd44ac82f6489efb5433a3c0a0159017469bbb2c3974d9c5b1400eccf" }, "downloads": -1, "filename": "SentryLogs-0.3.0.tar.gz", "has_sig": false, "md5_digest": "e181b7b65494ab56ca4954aff252173c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12710, "upload_time": "2017-07-14T10:59:27", "url": "https://files.pythonhosted.org/packages/ec/07/cb842d646ecf24d0d3fc49bd08cb6f39d94bf1d756921121a35da84e6408/SentryLogs-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "8d0b717efe47bbab60c9ba0d566fb229", "sha256": "1f95e5e4633d246725dac9d49d70406a4fdd391f81ad891916abe8670fed772e" }, "downloads": -1, "filename": "SentryLogs-0.4.0.tar.gz", "has_sig": false, "md5_digest": "8d0b717efe47bbab60c9ba0d566fb229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11195, "upload_time": "2018-11-21T17:08:09", "url": "https://files.pythonhosted.org/packages/21/37/82792a770ad2e1c799e50b7395085d3f19f7bd7277778f5f85adf3cc60bb/SentryLogs-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "74168858cac7c47a64a7510d000c0ace", "sha256": "889c872eef489af07b19bf853308f247a2fadab5bb4704efd4b9ba2d79ad0532" }, "downloads": -1, "filename": "SentryLogs-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "74168858cac7c47a64a7510d000c0ace", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13003, "upload_time": "2019-09-19T18:01:22", "url": "https://files.pythonhosted.org/packages/8c/fa/0cde9f54ca7004a64f04f5c1cadbc5dcfdf4b1667e998bf318373ec8ff05/SentryLogs-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aef04a7e92c43e4d04f0372180fea26e", "sha256": "696c4d914f3a038f881549dca120f6e31bc543610cfc9b165883d64a48274fc3" }, "downloads": -1, "filename": "SentryLogs-0.5.0.tar.gz", "has_sig": false, "md5_digest": "aef04a7e92c43e4d04f0372180fea26e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11744, "upload_time": "2019-09-19T18:01:24", "url": "https://files.pythonhosted.org/packages/b7/5e/2cde561b64cb80583775a941310e4a30aa142893902b373e5eca34608fbb/SentryLogs-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74168858cac7c47a64a7510d000c0ace", "sha256": "889c872eef489af07b19bf853308f247a2fadab5bb4704efd4b9ba2d79ad0532" }, "downloads": -1, "filename": "SentryLogs-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "74168858cac7c47a64a7510d000c0ace", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13003, "upload_time": "2019-09-19T18:01:22", "url": "https://files.pythonhosted.org/packages/8c/fa/0cde9f54ca7004a64f04f5c1cadbc5dcfdf4b1667e998bf318373ec8ff05/SentryLogs-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aef04a7e92c43e4d04f0372180fea26e", "sha256": "696c4d914f3a038f881549dca120f6e31bc543610cfc9b165883d64a48274fc3" }, "downloads": -1, "filename": "SentryLogs-0.5.0.tar.gz", "has_sig": false, "md5_digest": "aef04a7e92c43e4d04f0372180fea26e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11744, "upload_time": "2019-09-19T18:01:24", "url": "https://files.pythonhosted.org/packages/b7/5e/2cde561b64cb80583775a941310e4a30aa142893902b373e5eca34608fbb/SentryLogs-0.5.0.tar.gz" } ] }