{ "info": { "author": "Wu Charles", "author_email": "wcadaydayup@163.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "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 :: Implementation", "Topic :: Software Development :: Libraries" ], "description": "====================\nLog_Config\n====================\n\nProvide a function for anyone who want to configure log parameters easily, just call init_log_config when your app start up, the you can use the module of logging which build-in python3 without any other configtur. This module support ConsoleHandler, RotatingFileHandler and SMTPHandler and You can change the configuration parameters according to your requirements.\n\n\nMeta\n----\n\n* Author: Wu Charles\n* Email: wcadaydayup@163.com\n* Maintainer: Wu Charles\n* Email: wcadaydayup@163.com\n* Status: active development, stable, maintained\n\n[![Version](https://img.shields.io/pypi/v/log_config.svg)](https://pypi.python.org/pypi/log_config)\n[![GitHub](https://github.com/wcadaydayup/log_config.svg?branch=master)](https://github.com/wcadaydayup/log_config)\n\n\nInstallation\n------------\nSimply run the following from within a virtualenv::\n\n\t$ pip install log_config\n\n\tor\n\n $ pip install git+https://github.com/wcadaydayup/log_config\n\n\nUsage\n-----\nImport the log config function in anywhere you want use logging which build-in Python3::\n\n from log_config.log_config import init_log_config\n\nCall init_log_config() when your application start up, of course you can modify log file path, log level and so on by import other variable from log_config.log_config::\n\n init_log_config()\n\nLog confiture is ready, you can use logging module without any other configture::\n\n import logging\n\tlogger = logging.getLogger()\n\tlogger.debug(\"this is a message of debug level.\")\n\nThen, you will see you output message in console and log file which in your current directory::\n\n configure_installed_apps_logger(logging.INFO, verbose=True, filename='django-project.log')\n\nYou can also receive email notify if call init_log_config(use_mail=True), of course you should provide correct email parameters::\n\n\timport log_config.log_config as lf\n\tlf.EMAIL_HOST = \"xxx.smtp.com\"\n\tlf.FROM = \"youraccount@xx.com\"\n\tlf.TO = \"a@xx.com;b@xx.com\"\n\n\t...\n\n init_log_config(use_mail=True)\n\n\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/wcadaydayup/log_config/", "keywords": "", "license": "BSD License", "maintainer": "Wu Charles", "maintainer_email": "wcadaydayup@163.com", "name": "log-config", "package_url": "https://pypi.org/project/log-config/", "platform": "all", "project_url": "https://pypi.org/project/log-config/", "project_urls": { "Homepage": "https://github.com/wcadaydayup/log_config/" }, "release_url": "https://pypi.org/project/log-config/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Provide a function for anyone who want to configure log parameters easily, just call init_log_config when your app start up, the you can use the module of logging which build-in python3 without any other configtur. This module support ConsoleHandler, RotatingFileHandler and SMTPHandler and You can change the configuration parameters according to your requirements.", "version": "2.0.1" }, "last_serial": 5690448, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "dfb850a56136f83239a6014cce0ead77", "sha256": "2e8c0add9c7d70c7d235103156f971e765a98f946a27e0037e3d3dbe311c03ab" }, "downloads": -1, "filename": "log_config-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dfb850a56136f83239a6014cce0ead77", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 2436, "upload_time": "2018-06-20T13:22:05", "url": "https://files.pythonhosted.org/packages/a1/03/ac05b4126e54a94541db57d683f1e334faabe6f96a76d68e021d23ded7b0/log_config-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aafbf8869d764955193805f3e573556d", "sha256": "6d5f3d5fc8c12691c2255d0f3b649a6476602b7b7d365dd2d0b6d62e05cf54d7" }, "downloads": -1, "filename": "log_config-1.0.tar.gz", "has_sig": false, "md5_digest": "aafbf8869d764955193805f3e573556d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1271, "upload_time": "2018-06-20T13:21:20", "url": "https://files.pythonhosted.org/packages/37/97/568da37c43fb5c93bc77d6c28467ccc9af68bab0c7a9740c947ec5e4bad5/log_config-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a7f31917a065386aced2a3df08e6de7c", "sha256": "a8df6d002c08193f81f21b1f54d3cceeb5f251642d72b234d07faaa6979bbd5e" }, "downloads": -1, "filename": "log_config-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a7f31917a065386aced2a3df08e6de7c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4508, "upload_time": "2018-06-20T13:43:09", "url": "https://files.pythonhosted.org/packages/34/37/b7a875d67b8975ceaa5112aff1865d49c81d3759ed2f4fb3ef6915244a47/log_config-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a1664c9598f257c201c7e92a1470aab1", "sha256": "ca05d970304c243602a0c4085bb12bd54536af36e08dbe45b283d3fdc062db50" }, "downloads": -1, "filename": "log_config-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a1664c9598f257c201c7e92a1470aab1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2500, "upload_time": "2018-06-20T13:42:48", "url": "https://files.pythonhosted.org/packages/12/8f/dbd53a2b9e50e04f44c298b79cb4d4e585ef9ff5fbf296cdc5d4a9284def/log_config-1.0.1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "df79544864f8f1d65462a4936cce7cbe", "sha256": "1b924746721324d2f7f39a4602bc9ef86e2204fb6d78ad8268a58622bed56395" }, "downloads": -1, "filename": "log_config-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "df79544864f8f1d65462a4936cce7cbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6168, "upload_time": "2018-08-02T08:54:50", "url": "https://files.pythonhosted.org/packages/2a/99/6708596319e9a8d497a847ea8ac4bf40ea55d5e067905f7c24cf353e1828/log_config-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34633f57c93ab3c92cff03320edea96c", "sha256": "b0337e412407b36888361507f6e6d941bbe384d31ad5e096a3c62965ae343649" }, "downloads": -1, "filename": "log_config-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34633f57c93ab3c92cff03320edea96c", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 5912, "upload_time": "2018-06-21T01:14:22", "url": "https://files.pythonhosted.org/packages/6f/8c/67b4da24c915982980cfe662f656e477a9a9c276fc7daaf9dc5f24158af9/log_config-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ff47e758fe986f7c61e7b0d870f4b53", "sha256": "2a4a41d622c548dd70045e5da9bca3d17b9707962fe2f8650397f1aae2a4d190" }, "downloads": -1, "filename": "log_config-1.1.tar.gz", "has_sig": false, "md5_digest": "6ff47e758fe986f7c61e7b0d870f4b53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3258, "upload_time": "2018-06-21T01:14:09", "url": "https://files.pythonhosted.org/packages/76/53/6c2f607f444bdc236c24eea401fbbb575520ea85b6c11f0f16978389b34b/log_config-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "f623640068de6d32728830480b917f63", "sha256": "08d902040b5b4a5c9eb4180b2949ccd2fde13ca0c8f8835c88535f7d812befa5" }, "downloads": -1, "filename": "log_config-1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f623640068de6d32728830480b917f63", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6172, "upload_time": "2018-08-02T08:56:15", "url": "https://files.pythonhosted.org/packages/31/5c/dc23cd12160ea763c4efe916f303d459b5537c329f0e1f5149af12dde498/log_config-1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "245d269cec663b1890968c80a2097ec5", "sha256": "439f3a2f67a8f5a02d50ad1442205508ed8aa08ae6756011db1f4c391911c380" }, "downloads": -1, "filename": "log_config-1.2.tar.gz", "has_sig": false, "md5_digest": "245d269cec663b1890968c80a2097ec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3470, "upload_time": "2018-08-02T08:56:16", "url": "https://files.pythonhosted.org/packages/77/bd/a4655f96482045210fad2dfcb70634b689bf78abddec2ecb222ca9357c01/log_config-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "3f38c9161a4416ae26d728da9e880bb8", "sha256": "f1dce06f93f20a09af9728dd08b13136e9e7b16cd250d09402a74b9cd469ba7c" }, "downloads": -1, "filename": "log_config-1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3f38c9161a4416ae26d728da9e880bb8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6317, "upload_time": "2018-08-27T08:08:53", "url": "https://files.pythonhosted.org/packages/9e/46/00bd1eb58d9cfe1c3450aaf270a21d003d17f6c1650e93e3c572466bfc44/log_config-1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57935d37e23c6bcbf1369bf62720a0ba", "sha256": "5be3c0061d65fd26a1848dfbb365d77f1cad54b1b7ce88b0b061a071a0d0fea7" }, "downloads": -1, "filename": "log_config-1.3.tar.gz", "has_sig": false, "md5_digest": "57935d37e23c6bcbf1369bf62720a0ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3606, "upload_time": "2018-08-27T08:08:54", "url": "https://files.pythonhosted.org/packages/93/e0/7d8405d938ff10a790262da6fcab5378fb18492193d8f8b28e391d705b9a/log_config-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "c254d5f81515bff5dfc9d72ef0a4e392", "sha256": "77610c83fdaee430446740c65fd6304e5a83f5abebff72147182810c29ed1823" }, "downloads": -1, "filename": "log_config-1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c254d5f81515bff5dfc9d72ef0a4e392", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6410, "upload_time": "2018-10-30T07:47:49", "url": "https://files.pythonhosted.org/packages/1f/79/7a3b4ca6c1dbb498621b4056a63b2a03d08d43ce0991972b9518a1c25956/log_config-1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0a9e59b929e91ff4e9dd3e1ed88d38ff", "sha256": "63cee8b2b7769024a7289c25ceb69445a789116c074e33e424716fcb4a9313d8" }, "downloads": -1, "filename": "log_config-1.4.tar.gz", "has_sig": false, "md5_digest": "0a9e59b929e91ff4e9dd3e1ed88d38ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3686, "upload_time": "2018-10-30T07:47:51", "url": "https://files.pythonhosted.org/packages/b4/74/43c5da2135ee8a3556e82c0ab90e4738db2e94be371879b52b60ff33225b/log_config-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "db215739387d7711609de75216d928d5", "sha256": "341e69a0204f459229dea04ec702c90fcb59d81a8b78701d171c2e96f92b72ec" }, "downloads": -1, "filename": "log_config-1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db215739387d7711609de75216d928d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6370, "upload_time": "2019-04-26T01:39:01", "url": "https://files.pythonhosted.org/packages/6d/6f/7b40b80719b63c75881a6c5a6276adcbdaca49a4c3ca09a3df8459b5270f/log_config-1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba3104dd4e612fbad942ccb021810ddd", "sha256": "3ee0b4dea7b86e651f680d0caf3a165c3e6f8e799115b8ceaa95907f4e1b22ec" }, "downloads": -1, "filename": "log_config-1.5.tar.gz", "has_sig": false, "md5_digest": "ba3104dd4e612fbad942ccb021810ddd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3688, "upload_time": "2019-04-26T01:39:03", "url": "https://files.pythonhosted.org/packages/d2/7e/49e47696a74f81d775a613600930e020a1f42042e5b33a37b6e583d56e5e/log_config-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "ca25b6e2d944d291d60156d30f7675fb", "sha256": "28cf4069825c5a5ce05e3388abdb31fcf0496a81ba55c4f8826400c226c82d30" }, "downloads": -1, "filename": "log_config-1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca25b6e2d944d291d60156d30f7675fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6385, "upload_time": "2019-04-29T09:45:48", "url": "https://files.pythonhosted.org/packages/78/3e/78da4022475c99362637364ba27c571482f61ebe8bb1e0b04bc186b1cc15/log_config-1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6daab8e5547ccc423049c593efd2a1f9", "sha256": "a8ee0401c9c3c25c0d0854ddc1472bef35ab6b38f8b48452fe79a13b31ce43c7" }, "downloads": -1, "filename": "log_config-1.6.tar.gz", "has_sig": false, "md5_digest": "6daab8e5547ccc423049c593efd2a1f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3686, "upload_time": "2019-04-29T09:45:55", "url": "https://files.pythonhosted.org/packages/e1/78/89b0ecb3645ebe3aa5d039d434dd077845ed1aad10d14093654997193614/log_config-1.6.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "1eef77ea1a0564e1dedb2dfb2b6f83de", "sha256": "0d555e44bfd4cbad4af8a611323563746e08ed18a5140596077f5ad2685fc293" }, "downloads": -1, "filename": "log_config-1.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1eef77ea1a0564e1dedb2dfb2b6f83de", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6541, "upload_time": "2019-04-29T09:56:07", "url": "https://files.pythonhosted.org/packages/a4/45/f9c8c50ab78052d2f7098ab270743eb4b9af4b241d60178a4806343dee17/log_config-1.7-py2.py3-none-any.whl" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "f24d7e15c26ef1f931dde9ec63021a9f", "sha256": "55a6afd080a87fbcd5f2de6aa9b5964223171ed938cdcc152d92443fb17521f8" }, "downloads": -1, "filename": "log_config-1.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f24d7e15c26ef1f931dde9ec63021a9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6604, "upload_time": "2019-07-16T03:58:37", "url": "https://files.pythonhosted.org/packages/66/d7/423719de676460aa277563c59a1c6a646565607c0f27983e4a0d5306a3e3/log_config-1.8-py2.py3-none-any.whl" } ], "1.9": [ { "comment_text": "", "digests": { "md5": "c5ab64377ef86e19c4dbfc807c59a80d", "sha256": "31f3efb7ce099e338e08d589e70b9f300ff491c310fd9fb77ba6d8ebf8bc5b74" }, "downloads": -1, "filename": "log_config-1.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c5ab64377ef86e19c4dbfc807c59a80d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6606, "upload_time": "2019-07-16T04:00:49", "url": "https://files.pythonhosted.org/packages/d8/4a/2b036beab1fb244e3d2d21e3f929e085cf4c9fc83b3c4aca94146911f2b9/log_config-1.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0c57c068e071ab26e558280e3f064d6", "sha256": "da74d005b38d2ea269df3a6ffc0ae39c429b2d2045d16b518030a1bd4623bf82" }, "downloads": -1, "filename": "log_config-1.9.tar.gz", "has_sig": false, "md5_digest": "e0c57c068e071ab26e558280e3f064d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3841, "upload_time": "2019-07-16T04:00:51", "url": "https://files.pythonhosted.org/packages/70/cf/3a9fb014609418c08721f6663db87ea97ed0662762b69b0c6372c2e21c98/log_config-1.9.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "cfe58acc9e2ad55e54c7890ef5f6966f", "sha256": "26b4f406eec661c21fae5f56c3793f8a761e4d317694a5f130af16a6830aef5a" }, "downloads": -1, "filename": "log_config-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cfe58acc9e2ad55e54c7890ef5f6966f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6642, "upload_time": "2019-08-13T02:33:23", "url": "https://files.pythonhosted.org/packages/9d/d7/87e29f420e27942376cfd478562d4a6e6d593e9ad3ef9b5ae3d5afcbaf48/log_config-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f990a9a9f897f17becb7c33942ad72de", "sha256": "055515a25c5b43b7d6bb7c1560de6d6ab421f505b10738deeb06f1d2e315f129" }, "downloads": -1, "filename": "log_config-2.0.tar.gz", "has_sig": false, "md5_digest": "f990a9a9f897f17becb7c33942ad72de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3889, "upload_time": "2019-08-13T02:33:25", "url": "https://files.pythonhosted.org/packages/87/5c/1044044181999a3bdb091dab6d167c09e4939a23ea3fe7c469f440c75581/log_config-2.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "f3bedee9cc41d015616002457dea06a5", "sha256": "ecb19cb0257752237091ac26457ac4b15b34161d33839887d63a5c53e1cd24ca" }, "downloads": -1, "filename": "log_config-2.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f3bedee9cc41d015616002457dea06a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6708, "upload_time": "2019-08-17T03:36:58", "url": "https://files.pythonhosted.org/packages/68/ed/724cb56687fb39c82a93d0b9e93d3e6489963ad3aadb2e6cf78947e57608/log_config-2.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd958dc9ea149351bc94797a71ea1666", "sha256": "b89af3d6195aebfefc8eb582759e6b29db66d0241a560e0359df2ca5995c1966" }, "downloads": -1, "filename": "log_config-2.0.1.tar.gz", "has_sig": false, "md5_digest": "bd958dc9ea149351bc94797a71ea1666", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3924, "upload_time": "2019-08-17T03:37:01", "url": "https://files.pythonhosted.org/packages/f4/af/bc4801a3c1bdd86ba1855ced38df16e6d83250b7a55f2ce59eb33f346c07/log_config-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f3bedee9cc41d015616002457dea06a5", "sha256": "ecb19cb0257752237091ac26457ac4b15b34161d33839887d63a5c53e1cd24ca" }, "downloads": -1, "filename": "log_config-2.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f3bedee9cc41d015616002457dea06a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6708, "upload_time": "2019-08-17T03:36:58", "url": "https://files.pythonhosted.org/packages/68/ed/724cb56687fb39c82a93d0b9e93d3e6489963ad3aadb2e6cf78947e57608/log_config-2.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd958dc9ea149351bc94797a71ea1666", "sha256": "b89af3d6195aebfefc8eb582759e6b29db66d0241a560e0359df2ca5995c1966" }, "downloads": -1, "filename": "log_config-2.0.1.tar.gz", "has_sig": false, "md5_digest": "bd958dc9ea149351bc94797a71ea1666", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3924, "upload_time": "2019-08-17T03:37:01", "url": "https://files.pythonhosted.org/packages/f4/af/bc4801a3c1bdd86ba1855ced38df16e6d83250b7a55f2ce59eb33f346c07/log_config-2.0.1.tar.gz" } ] }