{ "info": { "author": "Camptocamp,Akretion,Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n==============\nJSON Logging\n==============\n\nThis addon allows to output the Odoo logs in JSON.\n\n\nIt also add the possibility to log extra data in json in your log.\nSee documentation of json logger here : https://github.com/madzak/python-json-logger\n\nExample:\n\n.. code-block:: python\n\n _logger.info('My Message', extra={\n 'my_extra_key_1': 'value_1',\n 'my_extra_key_2': 'value_2'})\n\nThe key \"extra\" is a standard key of logger module so you can add this key and your log will work with or without this module (see documentation here : https://docs.python.org/2/library/logging.html#logging.Logger.debug)\n\n\nConfiguration\n=============\n\nThe json logging is activated with the environment variable\n``ODOO_LOGGING_JSON`` set to ``1``.\n\nIn order to have the logs from the start of the server, you should add\n``logging_json`` in the ``--load`` flag or in the ``server_wide_modules``\noption in the configuration file.\n\nIf you want to see the extra keys when you are developping in local\nbut with the odoo logger output and not the JSON output\nyou can add the environment variable ``ODOO_LOGGING_JSON_DEV`` set to ``1``.\n\nNote : ``ODOO_LOGGING_JSON_DEV`` and ``ODOO_LOGGING_JSON`` should be not set both to ``1``\n\nKnown issues / Roadmap\n======================\n\n* Completed the extraction (in regex) of interesting message to get more metric\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Guewen Baconnier \n* S\u00e9bastien BEAU \n\nFunders\n-------\n\nThe development of this module has been financially supported by:\n\n* Camptocamp\n* Akretion\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.camptocamp.com", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo8-addon-logging-json", "package_url": "https://pypi.org/project/odoo8-addon-logging-json/", "platform": "", "project_url": "https://pypi.org/project/odoo8-addon-logging-json/", "project_urls": { "Homepage": "http://www.camptocamp.com" }, "release_url": "https://pypi.org/project/odoo8-addon-logging-json/8.0.1.0.0.99.dev4/", "requires_dist": [ "odoo (<9.0a,>=8.0a)", "pythonjsonlogger" ], "requires_python": "~=2.7", "summary": "JSON Logging", "version": "8.0.1.0.0.99.dev4" }, "last_serial": 5094338, "releases": { "8.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "8191f01698a79c475811c0c621085377", "sha256": "e7ea0936ce00d649ffce865b925492c6b298586ad958d75b5591ea3543bc219f" }, "downloads": -1, "filename": "odoo8_addon_logging_json-8.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "8191f01698a79c475811c0c621085377", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9511, "upload_time": "2017-09-05T04:30:13", "url": "https://files.pythonhosted.org/packages/ff/cd/2791e5f6be32d9ab274ccc4fa7f2b38de295becafcf249d4e9b957b5660a/odoo8_addon_logging_json-8.0.1.0.0.99.dev1-py2-none-any.whl" } ], "8.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "1bdb3166dd1241f5bac136311c3daa91", "sha256": "66788ce92545dd4cd128e26beef2cb73d6ab25bf5256bbc4502f2e776cc67938" }, "downloads": -1, "filename": "odoo8_addon_logging_json-8.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "1bdb3166dd1241f5bac136311c3daa91", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 9967, "upload_time": "2018-06-25T04:37:39", "url": "https://files.pythonhosted.org/packages/75/8a/ae286fac793e73035bfd89c36b24f5b11a1ed254b1002aeecb3056dbaf44/odoo8_addon_logging_json-8.0.1.0.0.99.dev2-py2-none-any.whl" } ], "8.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "fbcd07048885589f413e1c4283a787c0", "sha256": "de59944d5982281e9c8d19a9b82aa775949a25c15bb21b19b93740c06a9907f5" }, "downloads": -1, "filename": "odoo8_addon_logging_json-8.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "fbcd07048885589f413e1c4283a787c0", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 17310, "upload_time": "2019-04-03T04:51:58", "url": "https://files.pythonhosted.org/packages/8f/db/7d845bc514ab703439f12a049313782c5620eb31c6fc8c8c5b154f7e9fab/odoo8_addon_logging_json-8.0.1.0.0.99.dev3-py2-none-any.whl" } ], "8.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "6f7da741c7e187869c34ef80fab84411", "sha256": "daf5f758120681b5ff5fdc8715df822472e84df82e734babf4bb775f24f59aa7" }, "downloads": -1, "filename": "odoo8_addon_logging_json-8.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "6f7da741c7e187869c34ef80fab84411", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 17309, "upload_time": "2019-04-04T04:39:39", "url": "https://files.pythonhosted.org/packages/32/ab/2b6fd8f37dc05acd2d3d5e24ec30acf0d61d7947f863b9be12c48734b520/odoo8_addon_logging_json-8.0.1.0.0.99.dev4-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f7da741c7e187869c34ef80fab84411", "sha256": "daf5f758120681b5ff5fdc8715df822472e84df82e734babf4bb775f24f59aa7" }, "downloads": -1, "filename": "odoo8_addon_logging_json-8.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "6f7da741c7e187869c34ef80fab84411", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 17309, "upload_time": "2019-04-04T04:39:39", "url": "https://files.pythonhosted.org/packages/32/ab/2b6fd8f37dc05acd2d3d5e24ec30acf0d61d7947f863b9be12c48734b520/odoo8_addon_logging_json-8.0.1.0.0.99.dev4-py2-none-any.whl" } ] }