Vinay Sajip
7a8ac38b2b
[3.10] gh-96727: Document restrictions on Handler.emit() with respect to locking. (GH-96948) (GH-96951)
...
(cherry picked from commit 6ad47b41a6 )
2022-09-20 09:54:31 +01:00
Miss Islington (bot)
6ee7a6b947
[3.10] gh-88287: Add BufferingFormatter documentation. (GH-96608) (GH-96674)
2022-09-08 08:33:16 +01:00
Miss Islington (bot)
a1579ade9c
gh-95516: Add param types and clarify param descriptions of LogRecord (GH-95517) ( #95565 )
...
(cherry picked from commit 75a6441718 )
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-02 15:05:46 +02:00
Vinay Sajip
817414321c
[3.10] Update logging documentation: change cross-reference and add webapp r… (GH-94542)
2022-07-04 09:10:13 +01:00
Miss Islington (bot)
a2695be91c
[3.10] Improve logging documentation with example and additional cookbook re… (GH-93644) (GH-93648)
...
(cherry picked from commit e974b3e333 )
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-06-10 16:31:00 +02:00
Miss Islington (bot)
251104f12d
[3.10] gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063) (GH-93150)
2022-05-23 20:45:44 +01:00
Miss Islington (bot)
15cb6e8b8b
gh-92417: logging docs: Remove warning that only applies to Python <3.2 (GH-92425)
...
(cherry picked from commit 318c4e91ef )
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-05-08 09:03:09 -07:00
Miss Islington (bot)
14f03ce6e8
[3.10] bpo-35821: Fix restructuredtext code formatting in logging.rst (GH-29963) (GH-29965)
...
(cherry picked from commit c7e7a4b969 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2021-12-07 07:47:31 -08:00
Miss Islington (bot)
f78c229b4e
[3.10] bpo-35821: Add an example to Logger.propagate documentation. (GH-29841) (GH-29957)
2021-12-07 11:45:13 +00:00
Miss Islington (bot)
ed34965d66
[3.10] Move field width to the right field (GH-29344) (GH-29351)
...
Co-authored-by: Olaf van der Spek <olafvdspek@gmail.com>
2021-10-31 20:25:44 +00:00
Miss Islington (bot)
2df68270d9
Fix legacy logging module URL (GH-28528)
...
The URL listed in the `logging` docs for the original `logging` module leads to a 404. I managed to find the new location for the page and updated the URL.
Automerge-Triggered-By: GH:vsajip
(cherry picked from commit 8492b729ae )
Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
2021-09-23 08:07:40 -07:00
Miss Islington (bot)
59058a65a2
[3.10] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27355)
...
(cherry picked from commit 50b72768ff )
2021-07-25 20:30:50 +01:00
Mariusz Felisiak
bbba28212c
bpo-43353: Document that logging.getLevelName() accepts string representation of logging level. (GH-24693)
...
[bpo-43353]()
Automerge-Triggered-By: GH:vsajip
2021-03-08 03:16:20 -08:00
Andre Delfino
2a35137328
[doc] Link to issue regarding logging.disable level param default value (GH-23726)
2020-12-09 15:37:39 -08:00
Andre Delfino
35cacce525
[doc] Document logging.basicConfig default format (GH-23710)
...
Automerge-Triggered-By: GH:vsajip
2020-12-09 13:56:17 -08:00
Bar Harel
1e874d5bec
Update logging documentation to tidy up formatting (GH-22173)
2020-09-10 11:50:23 +01:00
Vinay Sajip
76553e5d2e
Add minor clarification in logging documentation. (GH-22167)
2020-09-09 11:21:22 +01:00
Andre Delfino
f5a16b4dbf
[doc] Add link to FileHandler in logging (GH-21940)
...
Co-authored-by: Andrés Delfino <adelfino@onapsis.com>
2020-09-01 13:59:46 +01:00
Andre Delfino
c3a651ad25
[doc] Fix markup in logging (GH-22008)
2020-08-30 21:36:58 +01:00
Bar Harel
8f192d12af
bpo-40884: Added defaults parameter for logging.Formatter (GH-20668)
...
Docs and tests are underway.
Automerge-Triggered-By: @vsajip
2020-06-18 07:18:58 -07:00
Mariusz Felisiak
06a35542aa
bpo-40300: Allow empty logging.Formatter.default_msec_format. (GH-19551)
2020-04-17 17:02:47 +01:00
Gregory P. Smith
9b8e74ca77
Clarify a guarantee of the logging module. (GH-19132)
...
When no additional arguments are passed to logging.debug() and related
methods, no % operation is performed on the passed in message.
2020-03-24 09:48:32 -07:00
Serhiy Storchaka
138ccbb022
bpo-38738: Fix formatting of True and False. (GH-17083)
...
* "Return true/false" is replaced with "Return ``True``/``False``"
if the function actually returns a bool.
* Fixed formatting of some True and False literals (now in monospace).
* Replaced "True/False" with "true/false" if it can be not only bool.
* Replaced some 1/0 with True/False if it corresponds the code.
* "Returns <bool>" is replaced with "Return <bool>".
2019-11-12 16:57:03 +02:00
Ashley Whetter
3142c667b5
bpo-38235: Correct some arguments names in logging documentation (GH-16571)
2019-10-04 08:55:14 +01:00
David Röthlisberger
4f0f9f066e
logging.Formatter docs: Add missing validate parameter, clarify style parameter (GH-15222)
2019-09-09 12:29:54 +01:00
Vinay Sajip
0150001653
bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229)
2019-06-19 11:46:53 +01:00
Vinay Sajip
ca7b504a4d
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… (GH-14008)
2019-06-17 17:40:52 +01:00
Andre Delfino
3e700e4ca3
Document that logging registers shutdown as an atexit handler (GH-12378)
2019-03-26 05:42:26 +00:00
Serhiy Storchaka
3f819ca138
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
2018-10-31 02:26:06 +02:00
Vinay Sajip
bbd90e4f62
Updated documentation on logging.debug(). (GH-9946)
2018-10-18 11:45:58 +01:00
BNMetrics
18fb1fb943
bpo-34844: logging.Formatter enhancement - Ensure style and format string matches in logging.Formatter (GH-9703)
2018-10-15 19:41:36 +01:00
Dong-hee Na
2800dcf656
bpo-34065: Improve the markup of logging.basicConfig() arguments (GH-8153)
2018-07-07 15:36:40 +03:00
Sergey Fedoseev
f12028809b
versionadded -> versionchanged for all 'X parameter was added' for uniformity. (GH8114)
...
Per the recommendation in our Developer's Guide:
https://devguide.python.org/documenting/#paragraph-level-markup
2018-07-05 17:01:16 -07:00
Andrés Delfino
a8ddf85a84
bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)
...
Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.
2018-06-25 09:06:10 +03:00
Dong-hee Na
cf67d6a934
bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)
2018-06-25 05:11:09 +01:00
Vinay Sajip
dde9fdbe45
bpo-33165: Added stacklevel parameter to logging APIs. (GH-7424)
2018-06-05 17:24:18 +01:00
Vinay Sajip
23cee80cfa
bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297)
2018-06-01 10:09:21 +01:00
Serhiy Storchaka
0a36ac1a09
bpo-33641: Convert RFC references into links. (GH-7103)
...
85% of them are already links.
2018-05-31 07:39:00 +03:00
Vinay Sajip
c4994dc00d
bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6702)
2018-05-04 22:20:54 +01:00
Serhiy Storchaka
46936d5a71
Improve highlighting of some code blocks. (GH-6401)
2018-04-08 19:18:04 +03:00
James Walker
982c723384
Fix typo in logging doc: picked -> pickled (GH-5942)
2018-02-28 15:46:35 -08:00
Vinay Sajip
a9f8df646a
bpo-32212: Updated logging documentation to make parameter names more consistent with source. (GH-4765)
2017-12-09 11:09:04 +00:00
Arthur Darcet
2f3d6993d7
Fixed sorting order of the LogRecord attributes in the documentation. (GH-4133)
2017-10-27 08:06:20 +01:00
Vinay Sajip
0653fba51c
bpo-30862: Updated Logger.setLevel documentation. (GH-2604)
2017-07-06 17:51:28 +01:00
Vinay Sajip
6260d9f203
bpo-30520: Implemented pickling for loggers. ( #1956 )
...
Implemented pickling for loggers.
2017-06-06 16:34:29 +01:00
Vinay Sajip
82a6384733
Indented Handler sections for improved clarity. ( #1554 )
...
Indented parts of the Handler class documentation for improved presentation, analogous to a recent similar change for the Logger class.
2017-05-12 09:38:13 +01:00
Jim Fasarakis-Hilliard
55ace65eba
Closes bpo-30168: indent methods in Logger Class ( #1295 )
2017-05-07 19:40:18 +01:00
Vinay Sajip
d489ac9102
Closes #28524 : added default level for logging.disable().
2016-12-31 11:40:11 +00:00
Serhiy Storchaka
29b0a26822
Fixed double hyphens that are rendered to literal en-dashes in the documenation.
2016-12-04 10:20:55 +02:00
Serhiy Storchaka
807e2f3459
Issue #19795 : Fixed formatting a table.
2016-10-19 19:37:20 +03:00