{ "info": { "author": "Miko\u0142aj Siedlarek", "author_email": "msiedlarek@nctz.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Logging", "Topic :: System :: Monitoring" ], "description": "alpaca-django\n=============\n\nThis is an Alpaca error logger for Django-based applications.\n\nSee https://github.com/msiedlarek/alpaca\n\nInstallation\n------------\n\n $ pip install alpaca-django\n\nExample configuration\n---------------------\n\n LOGGING = {\n 'version': 1,\n 'disable_existing_loggers': False,\n 'formatters': {\n 'simple': {\n 'format': '%(asctime)s %(levelname)s %(name)s #%(lineno)s: %(message)s',\n },\n },\n 'filters': {\n 'require_debug_false': {\n '()': 'django.utils.log.RequireDebugFalse'\n }\n },\n 'handlers': {\n 'console': {\n 'level': 'DEBUG',\n 'class': 'logging.StreamHandler',\n 'formatter': 'simple'\n },\n 'mail_admins': {\n 'level': 'ERROR',\n 'filters': ['require_debug_false'],\n 'class': 'django.utils.log.AdminEmailHandler'\n },\n 'alpaca': {\n 'level': 'ERROR',\n 'filters': [],\n 'class': 'alpaca_django.log_handler.AlpacaLogHandler',\n },\n },\n 'loggers': {\n 'django.request': {\n 'handlers': ['mail_admins', 'alpaca',],\n 'level': 'ERROR',\n 'propagate': True,\n },\n 'alpaca_django': {\n 'handlers': ['mail_admins', 'console',],\n 'level': 'DEBUG',\n 'propagate': False,\n },\n }\n }\n\n ALPACA_PROJECT_PATH_FRAGMENT = 'myproject'\n ALPACA_ENVIRONMENT = 'staging'\n ALPACA_MONITOR_HOST = 'monitoring.example.com'\n\nLicense\n-------\n\nCopyright 2013 Miko\u0142aj Siedlarek \n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "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/msiedlarek/alpaca-django", "keywords": "web alpaca error exception logging monitoring django", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "alpaca-django", "package_url": "https://pypi.org/project/alpaca-django/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/alpaca-django/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/msiedlarek/alpaca-django" }, "release_url": "https://pypi.org/project/alpaca-django/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Alpaca error logger for Django applications.", "version": "0.3.0" }, "last_serial": 893176, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "4ec4466bb818cfbd5cd26cd49ff52089", "sha256": "5f1e18758ec2a6ca063a748833bf58833092ad989d7ea7fa32bbc8b33d10748f" }, "downloads": -1, "filename": "alpaca-django-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4ec4466bb818cfbd5cd26cd49ff52089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6373, "upload_time": "2013-10-13T08:18:00", "url": "https://files.pythonhosted.org/packages/ed/e5/287d5055b4a15f2e34c598bcf1f9b72c555eef5193d530029b64925ade87/alpaca-django-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ec4466bb818cfbd5cd26cd49ff52089", "sha256": "5f1e18758ec2a6ca063a748833bf58833092ad989d7ea7fa32bbc8b33d10748f" }, "downloads": -1, "filename": "alpaca-django-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4ec4466bb818cfbd5cd26cd49ff52089", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6373, "upload_time": "2013-10-13T08:18:00", "url": "https://files.pythonhosted.org/packages/ed/e5/287d5055b4a15f2e34c598bcf1f9b72c555eef5193d530029b64925ade87/alpaca-django-0.3.0.tar.gz" } ] }