mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
bdf3e1ea92dfac8c2b5266f5926ed632e70bfc86
dictConfig expects a special `root` key outside of the `loggers` subdictionary in order to configure the root logger. I've tried the existing example code on python 2.7.5 and 3.5.1, and in neither case does the final log line produce any output (because the root logger remains set to `looging.WARN` by default). Changing the example to use the `root` key causes the log message to appear properly. The `root` key is explained in PEP391: https://www.python.org/dev/peps/pep-0391/#dictionary-schema-detail
Hitchhiker's Guide to Python ============================ **Python Best Practices Guidebook** ----------- **Work in progress. If you'd like to help, please do. There's a lot of work to be done.** This guide is currently under heavy development. This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis. Topics include: - Platform- and version-specific installations - Py2app, Py2exe, bbfreeze, pyInstaller - Pip - Numpy, scipy, statpy, pyplot, matplotlib - Virtualenv - Fabric - Exhaustive module recommendations, grouped by topic/purpose - Which libraries to use for what - Server configurations & tools for various web frameworks - Documentation: writing it - Testing: Jenkins & tox guides - How to easily interface ``hg`` from ``git`` If you aren't fond of reading reStructuredText, there is an almost up-to-date `HTML version at docs.python-guide.org <http://docs.python-guide.org>`_.
Description
Languages
Batchfile
95.9%
Makefile
4.1%