Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a9c179bd
Commit
a9c179bd
authored
Nov 30, 2013
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19789: Clarified documentation for logging.disable.
parent
896414fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Doc/library/logging.rst
Doc/library/logging.rst
+4
-2
No files found.
Doc/library/logging.rst
View file @
a9c179bd
...
...
@@ -987,8 +987,10 @@ functions.
effect is to disable all logging calls of severity *lvl* and below, so that
if you call it with a value of INFO, then all INFO and DEBUG events would be
discarded, whereas those of severity WARNING and above would be processed
according to the logger'
s
effective
level
.
To
undo
the
effect
of
a
call
to
``
logging
.
disable
(
lvl
)``,
call
``
logging
.
disable
(
logging
.
NOTSET
)``.
according to the logger'
s
effective
level
.
If
``
logging
.
disable
(
logging
.
NOTSET
)``
is
called
,
it
effectively
removes
this
overriding
level
,
so
that
logging
output
again
depends
on
the
effective
levels
of
individual
loggers
.
..
function
::
addLevelName
(
lvl
,
levelName
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment