19 Commits

Author SHA1 Message Date
Lokesh Dhakal ad22d2580c Minor Polishes 2020-11-22 16:22:12 +01:00
zachvalenta 22e11f45f4 add paragraph on loguru to logging section 2019-03-31 06:35:40 -04:00
Andrew Janke 808eb3a286 Fix redirected and broken links 2019-03-05 00:52:49 -05:00
Andrew Janke eb6ec70706 Typo, grammar, and style fixes 2018-12-17 17:23:26 -05:00
Marc Poulin 35c13bc9ea Fixed all H2 headings
Before, H2 fomratting was not consistent.
Now, all H2 headings use over/under asterisks.
2018-12-04 13:44:41 -07:00
Dan Bader 03ed5fbf0d Host photos locally 2018-07-16 17:51:29 -07:00
kennethreitz 4c37b093b0 Update logging.rst 2017-09-04 16:45:34 -04:00
Luis Rueda f20a2f63c4 Update logging.rst
Update to include changes proposed in issue #794
2017-02-23 13:48:52 -05:00
Tom bdf3e1ea92 Fix incorrect dictConfig example
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
2016-05-10 17:05:23 -06:00
Vincent Zee 7e385158c7 Corrected lines to be no longer than 78 characters 2015-03-01 16:27:06 +01:00
Michael Dunn 2b15ec8af2 Update logging.rst
Removed whitespace in violation of PEP 8 and aligned lines.
2015-02-10 21:06:36 -05:00
Michael Dunn 86d29a3c77 Update logging.rst
The name of a dictionary key `root` was not properly enclosed in quotes, which results in a syntax error when people copy this code.

Thanks!
2015-02-10 18:16:14 -05:00
Michael Dunn 4ffb7ff3d8 Update logging.rst
The PEP referenced for configuring logging via - '319' should be '391'.
Just a simple fix.
2015-02-10 17:15:18 -05:00
Ian Cordasco 0f797099e1 Change logging_config extension to ini 2015-01-18 09:59:38 -06:00
Tanya Schlusser df7a22568b Italic pro/con to bold, and '--' to colon after the pro/con 2015-01-17 21:43:22 -06:00
Tanya Schlusser 0c1551ae85 Added pro / con bullets to the list of ways to configure a logger 2015-01-17 21:09:52 -06:00
Tanya Schlusser 1cfb637cb1 Removed a stray capitalization and improved the grammar in the 'print' vs 'logging' section 2015-01-17 21:05:56 -06:00
Tanya Schlusser 7c37ec8396 Modified the new writing/logging.rst according to comments on the initial pull request 2015-01-17 20:59:53 -06:00
Tanya Schlusser 7ff1d0006f First attemt at a section on logging. 2015-01-17 11:55:26 -06:00