{ "info": { "author": "Jaime Bermudez", "author_email": "jaime_bermudez@harvard.edu", "bugtrack_url": null, "classifiers": [], "description": "Copyright (c) 2016 Harvard University / iCommons\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\nDescription: ====================\n Dj-Log-Config-Helper\n ====================\n \n Centralize management of simple log configuration across Django projects\n \n The ``dj_log_config_helper.configure_installed_apps_logger`` method configures either a console or file logger with a list of all the top-level app module packages being installed in ``INSTALLED_APPS``. Use this method in your ``settings.py`` file.\n \n Meta\n ----\n \n * Author: Jaime Bermudez\n * Email: jaime_bermudez@harvard.edu\n * Maintainer: Harvard University Academic Technology\n * Email: tlt-ops@g.harvard.edu\n * Status: active development, stable, maintained\n \n \n Installation\n ------------\n Simply run the following from within a virtualenv::\n \n $ pip install git+https://github.com/Harvard-University-iCommons/dj-log-config-helper\n \n Running the tests\n -----------------\n Via make::\n \n $ make test\n \n Usage\n -----\n Import the log config function in ``settings.py``::\n \n from dj_log_config_helper import configure_installed_apps_logger\n \n Disable Django's default logging::\n \n LOGGING_CONFIG = None\n \n At the end of ``settings.py`` configure a simple console logger::\n \n configure_installed_apps_logger(logging.INFO)\n \n Or, configure a verbose file logger::\n \n configure_installed_apps_logger(logging.INFO, verbose=True, filename='django-project.log')\n \n You can also log additional packages that are not part of INSTALLED_APPS::\n \n configure_installed_apps_logger(logging.INFO, additional_packages=['py.warnings'])\n \nPlatform: any\nClassifier: Environment :: Web Environment\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python\nClassifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content\nClassifier: Topic :: Software Development :: Libraries :: Python Modules\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 2.5\nClassifier: Programming Language :: Python :: 2.6\nClassifier: Programming Language :: Python :: 2.7\nClassifier: Programming Language :: Python :: 3\nClassifier: Programming Language :: Python :: 3.2\nClassifier: Programming Language :: Python :: 3.3\nClassifier: Programming Language :: Python :: 3.4\nClassifier: Programming Language :: Python :: 3.5", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Harvard-University-iCommons/dj-log-config-helper", "keywords": "", "license": "The MIT License (MIT)", "maintainer": "", "maintainer_email": "", "name": "dj-log-config-helper", "package_url": "https://pypi.org/project/dj-log-config-helper/", "platform": null, "project_url": "https://pypi.org/project/dj-log-config-helper/", "project_urls": { "Homepage": "https://github.com/Harvard-University-iCommons/dj-log-config-helper" }, "release_url": "https://pypi.org/project/dj-log-config-helper/0.2.3/", "requires_dist": [ "django" ], "requires_python": "", "summary": "Simplify log configuration across Django projects", "version": "0.2.3" }, "last_serial": 2708494, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d100678e8cce14058083d0363855a19e", "sha256": "415e849c3d0e51f4bf1b60ef297956b84fc290ee0ac78a68819c90ee0bb79ace" }, "downloads": -1, "filename": "dj_log_config_helper-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d100678e8cce14058083d0363855a19e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6793, "upload_time": "2016-06-22T19:29:08", "url": "https://files.pythonhosted.org/packages/4d/00/16e8af61ec44c4f11c0a60911604d88b671a9d1e6d68f15712cd05e86411/dj_log_config_helper-0.1.0-py2.py3-none-any.whl" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "1c36336cccf9d4559edd81c35a7c08e1", "sha256": "83feaf9119ad31e3dbbe16201663c04ecf2a2297f35201722ecaf67c04589d4a" }, "downloads": -1, "filename": "dj_log_config_helper-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1c36336cccf9d4559edd81c35a7c08e1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7068, "upload_time": "2017-03-15T21:01:35", "url": "https://files.pythonhosted.org/packages/8e/0a/d6b83e9455fca98c1ca8b056f638574fa0cb25c867bb8fd7c011e26e7f34/dj_log_config_helper-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c502716b5b1705263d1a994627f43e0e", "sha256": "0b1a30309a368cfd0c0e9848b98d05102ba520bbf301ef99d4d1307c1b764195" }, "downloads": -1, "filename": "dj-log-config-helper-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c502716b5b1705263d1a994627f43e0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4462, "upload_time": "2017-03-15T21:01:37", "url": "https://files.pythonhosted.org/packages/4a/d2/ddb9aa7b7b7fe377178590d76f71d19115349674e3b08e03d9eade2b1b8d/dj-log-config-helper-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1c36336cccf9d4559edd81c35a7c08e1", "sha256": "83feaf9119ad31e3dbbe16201663c04ecf2a2297f35201722ecaf67c04589d4a" }, "downloads": -1, "filename": "dj_log_config_helper-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1c36336cccf9d4559edd81c35a7c08e1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7068, "upload_time": "2017-03-15T21:01:35", "url": "https://files.pythonhosted.org/packages/8e/0a/d6b83e9455fca98c1ca8b056f638574fa0cb25c867bb8fd7c011e26e7f34/dj_log_config_helper-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c502716b5b1705263d1a994627f43e0e", "sha256": "0b1a30309a368cfd0c0e9848b98d05102ba520bbf301ef99d4d1307c1b764195" }, "downloads": -1, "filename": "dj-log-config-helper-0.2.3.tar.gz", "has_sig": false, "md5_digest": "c502716b5b1705263d1a994627f43e0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4462, "upload_time": "2017-03-15T21:01:37", "url": "https://files.pythonhosted.org/packages/4a/d2/ddb9aa7b7b7fe377178590d76f71d19115349674e3b08e03d9eade2b1b8d/dj-log-config-helper-0.2.3.tar.gz" } ] }