Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
cpython
Commits
72780a4b
Commit
72780a4b
authored
17 years ago
by
Georg Brandl
Browse files
Options
Download
Email Patches
Plain Diff
Make clear that the constants are strings.
parent
11ab807f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
Doc/library/logging.rst
Doc/library/logging.rst
+15
-15
No files found.
Doc/library/logging.rst
View file @
72780a4b
...
...
@@ -1651,21 +1651,21 @@ timed intervals.
You can use the *when* to specify the type of *interval*. The list of possible
values is, note that they are not case sensitive:
+----------+-----------------------+
| Value | Type of interval |
+==========+=======================+
|
S
| Seconds |
+----------+-----------------------+
|
M
| Minutes |
+----------+-----------------------+
|
H
| Hours |
+----------+-----------------------+
|
D
| Days |
+----------+-----------------------+
|
W
| Week day (0=Monday) |
+----------+-----------------------+
| midnight | Roll over at midnight |
+----------+-----------------------+
+----------
------
+-----------------------+
| Value
| Type of interval |
+==========
======
+=======================+
|
``'
S
'``
| Seconds |
+----------
------
+-----------------------+
|
``'
M
'``
| Minutes |
+----------
------
+-----------------------+
|
``'
H
'``
| Hours |
+----------
------
+-----------------------+
|
``'
D
'``
| Days |
+----------
------
+-----------------------+
|
``'
W
'``
| Week day (0=Monday) |
+----------
------
+-----------------------+
|
``'
midnight
'``
| Roll over at midnight |
+----------
------
+-----------------------+
If *backupCount* is non-zero, the system will save old log files by appending
extensions to the filename. The extensions are date-and-time based, using the
...
...
This diff is collapsed.
Click to expand it.
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