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
ecfa08fd
Commit
ecfa08fd
authored
Mar 12, 2010
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #8117: Updated NEWS entry and added to logging documentation.
parent
9098ee43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Doc/library/logging.rst
Doc/library/logging.rst
+5
-0
Misc/NEWS
Misc/NEWS
+4
-1
No files found.
Doc/library/logging.rst
View file @
ecfa08fd
...
...
@@ -1894,6 +1894,11 @@ timed intervals.
The extensions are date-and-time based, using the strftime format
``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on the
rollover interval.
When computing the next rollover time for the first time (when the handler
is created), the last modification time of an existing log file, or else
the current time, is used to compute when the next rotation will occur.
If the *utc* argument is true, times in UTC will be used; otherwise
local time is used.
...
...
Misc/NEWS
View file @
ecfa08fd
...
...
@@ -24,7 +24,10 @@ Core and Builtins
Library
-------
- Issue #8117: logging: Improved algorithm for computing initial rollover time.
- Issue #8117: logging: Improved algorithm for computing initial rollover time
for TimedRotatingFileHandler by using the modification time of an existing
log file to compute the next rollover time. If the log file does not exist,
the current time is used as the basis for the computation.
- Issue #6472: The xml.etree package is updated to ElementTree 1.3. The
cElementTree module is updated too.
...
...
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