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
59584c4b
Commit
59584c4b
authored
Aug 14, 2009
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added versionchanged notices for optional 'delay' parameter to file handler classes.
parent
764465f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Doc/library/logging.rst
Doc/library/logging.rst
+12
-0
No files found.
Doc/library/logging.rst
View file @
59584c4b
...
@@ -1627,6 +1627,8 @@ sends logging output to a disk file. It inherits the output functionality from
...
@@ -1627,6 +1627,8 @@ sends logging output to a disk file. It inherits the output functionality from
with
that
encoding
.
If
*
delay
*
is
true
,
then
file
opening
is
deferred
until
the
with
that
encoding
.
If
*
delay
*
is
true
,
then
file
opening
is
deferred
until
the
first
call
to
:
meth
:`
emit
`.
By
default
,
the
file
grows
indefinitely
.
first
call
to
:
meth
:`
emit
`.
By
default
,
the
file
grows
indefinitely
.
..
versionchanged
::
2.6
*
delay
*
was
added
.
..
method
::
close
()
..
method
::
close
()
...
@@ -1696,6 +1698,9 @@ this value.
...
@@ -1696,6 +1698,9 @@ this value.
with
that
encoding
.
If
*
delay
*
is
true
,
then
file
opening
is
deferred
until
the
with
that
encoding
.
If
*
delay
*
is
true
,
then
file
opening
is
deferred
until
the
first
call
to
:
meth
:`
emit
`.
By
default
,
the
file
grows
indefinitely
.
first
call
to
:
meth
:`
emit
`.
By
default
,
the
file
grows
indefinitely
.
..
versionchanged
::
2.6
*
delay
*
was
added
.
..
method
::
emit
(
record
)
..
method
::
emit
(
record
)
...
@@ -1733,6 +1738,8 @@ module, supports rotation of disk log files.
...
@@ -1733,6 +1738,8 @@ module, supports rotation of disk log files.
:
file
:`
app
.
log
.1
`,
:
file
:`
app
.
log
.2
`,
etc
.
exist
,
then
they
are
renamed
to
:
file
:`
app
.
log
.1
`,
:
file
:`
app
.
log
.2
`,
etc
.
exist
,
then
they
are
renamed
to
:
file
:`
app
.
log
.2
`,
:
file
:`
app
.
log
.3
`
etc
.
respectively
.
:
file
:`
app
.
log
.2
`,
:
file
:`
app
.
log
.3
`
etc
.
respectively
.
..
versionchanged
::
2.6
*
delay
*
was
added
.
..
method
::
doRollover
()
..
method
::
doRollover
()
...
@@ -1792,6 +1799,11 @@ timed intervals.
...
@@ -1792,6 +1799,11 @@ timed intervals.
one
is
deleted
.
The
deletion
logic
uses
the
interval
to
determine
which
one
is
deleted
.
The
deletion
logic
uses
the
interval
to
determine
which
files
to
delete
,
so
changing
the
interval
may
leave
old
files
lying
around
.
files
to
delete
,
so
changing
the
interval
may
leave
old
files
lying
around
.
If
*
delay
*
is
true
,
then
file
opening
is
deferred
until
the
first
call
to
:
meth
:`
emit
`.
..
versionchanged
::
2.6
*
delay
*
was
added
.
..
method
::
doRollover
()
..
method
::
doRollover
()
...
...
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