{ "info": { "author": "Sebastien Estienne", "author_email": "sebastien.estienne@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "Py2Loggly\n=========\n\nPy2Loggly is a proxy server listening on UDP and TCP for messages coming\nfrom python's UDP/TCP logging handler, it will forward all these\nmessages to ``loggly.com``.\n\nInstallation\n------------\n\nInstall dependencies\n~~~~~~~~~~~~~~~~~~~~\n\npy2loggly only depends on ``gevent``\n\nInstall py2loggly\n~~~~~~~~~~~~~~~~~\n\nFrom sources\n\n::\n\n $ python setup.py install\n\nFrom Pypi\n\n::\n\n $ pip install py2loggly\n\nUsage\n-----\n\nStarting the server\n~~~~~~~~~~~~~~~~~~~\n\nThe only required parameter is ``--loggly-token`` to provide your loggly\nTOKEN.\n\n::\n\n $ py2loggly --loggly-token $LOGGLY_TOKEN\n\nThe default TCP port is 9020 and the default UDP port is 9021.\n\nParameters\n^^^^^^^^^^\n\n::\n\n usage: py2loggly [-h] [-v] [--bind-ip IP] [--tcp-port PORT] [--udp-port PORT]\n [--fqdn] [--hostname HOSTNAME] --loggly-token TOKEN\n [--tags TAG1 TAG2 [TAG1 TAG2 ...]]\n\n Proxy for python UDP/TCP logging to loggly\n\n optional arguments:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n --bind-ip IP IP address to listen on\n --tcp-port PORT TCP port to listen on\n --udp-port PORT UDP port to listen on\n --fqdn Use the fully qualified domain name\n --hostname HOSTNAME Use the provided hostname instead of guessing it.\n --loggly-token TOKEN the loggly TOKEN.\n --tags TAG1 TAG2 [TAG1 TAG2 ...]\n Tags for the event message\n\nSending messages to py2loggly\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou can either use ``SockerHandler`` or ``DatagramHandler`` from\npython's ``logging.handlers``\n\nThe biggest advantage to use ``DatagramHandler`` is that logging won't\nslow down your application and if py2loggly is not running, it won't\nimpact your application.\n\nSo the recommended setup is to run py2loggly locally on each server and\nuse the ``DatadgramHandler``.\n\nExample\n^^^^^^^\n\n::\n\n import logging, logging.handlers\n\n rootLogger = logging.getLogger('')\n rootLogger.setLevel(logging.DEBUG)\n socketHandler = logging.handlers.SocketHandler('localhost',\n logging.handlers.DEFAULT_TCP_LOGGING_PORT)\n # don't bother with a formatter, since a socket handler sends the event as\n # an unformatted pickle\n rootLogger.addHandler(socketHandler)\n\n # Now, we can log to the root logger, or any other logger. First the root...\n logging.info('Jackdaws love my big sphinx of quartz.')\n\nLicense\n-------\n\nMIT", "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/sebest/py2loggly", "keywords": "loggly,logging", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "py2loggly", "package_url": "https://pypi.org/project/py2loggly/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/py2loggly/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/sebest/py2loggly" }, "release_url": "https://pypi.org/project/py2loggly/1.1.2/", "requires_dist": null, "requires_python": null, "summary": "A proxy for python UDP/TCP logging to loggly", "version": "1.1.2" }, "last_serial": 1734115, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "90102fb3e0cac0cec6141c34f985a7ef", "sha256": "d7404371d091fd2b84b18e45b06d88630a153b9712eed28d1ed932aa6511935e" }, "downloads": -1, "filename": "py2loggly-0.2.tar.gz", "has_sig": false, "md5_digest": "90102fb3e0cac0cec6141c34f985a7ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5206, "upload_time": "2015-09-22T20:23:40", "url": "https://files.pythonhosted.org/packages/d9/34/aae41d861ee400fe6a90facec596e92be6bee9ddde80a27f563fa3d24593/py2loggly-0.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "ad6e0c2a3d227b2393926aabc5ae9fde", "sha256": "aef20dacb2b32bd1a53728a331016092950b391fbdc1bad20742428d06cd32e1" }, "downloads": -1, "filename": "py2loggly-1.0.tar.gz", "has_sig": false, "md5_digest": "ad6e0c2a3d227b2393926aabc5ae9fde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5200, "upload_time": "2015-09-22T20:04:58", "url": "https://files.pythonhosted.org/packages/3e/92/e63ae8566ba2678904d5ebcc490b29c50f19d68533a3d8288ec83e3d443f/py2loggly-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "f8fde045591dce338cb19b529aa7740e", "sha256": "80d715012859a1fa498389b0f98ba87698d4e655cd865559d9aad684ba35b688" }, "downloads": -1, "filename": "py2loggly-1.1.tar.gz", "has_sig": false, "md5_digest": "f8fde045591dce338cb19b529aa7740e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5217, "upload_time": "2015-09-22T20:07:14", "url": "https://files.pythonhosted.org/packages/4d/db/4201c7207d44002f8a2185160384d1864e264dd1c2e4bd107e1996a01148/py2loggly-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "8da508286983a1ac21d6bb3370fe9254", "sha256": "d0a3f70f52d0ccf47d701e646c5bca30f5591b12f13445257ea3e337d689f0fa" }, "downloads": -1, "filename": "py2loggly-1.1.1.tar.gz", "has_sig": false, "md5_digest": "8da508286983a1ac21d6bb3370fe9254", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5219, "upload_time": "2015-09-22T20:25:41", "url": "https://files.pythonhosted.org/packages/8b/3d/ca474ec67d2573e4f4c31d02dac740a8d496840f73747bc2ba7abe4edae3/py2loggly-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a28eafd7b86407da2dd6d55e9ba5cf9a", "sha256": "3764ad0931decea9939e54e4c494a1831ae3b305fa8a27f69068b8e88c1824eb" }, "downloads": -1, "filename": "py2loggly-1.1.2.tar.gz", "has_sig": false, "md5_digest": "a28eafd7b86407da2dd6d55e9ba5cf9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5391, "upload_time": "2015-09-22T23:21:47", "url": "https://files.pythonhosted.org/packages/e2/9c/7c8028ab6521bb21dd32d7f27e5218b6feb0aaf02621d110ce38e369e708/py2loggly-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a28eafd7b86407da2dd6d55e9ba5cf9a", "sha256": "3764ad0931decea9939e54e4c494a1831ae3b305fa8a27f69068b8e88c1824eb" }, "downloads": -1, "filename": "py2loggly-1.1.2.tar.gz", "has_sig": false, "md5_digest": "a28eafd7b86407da2dd6d55e9ba5cf9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5391, "upload_time": "2015-09-22T23:21:47", "url": "https://files.pythonhosted.org/packages/e2/9c/7c8028ab6521bb21dd32d7f27e5218b6feb0aaf02621d110ce38e369e708/py2loggly-1.1.2.tar.gz" } ] }