From: Georg Brandl Date: Sun, 2 Mar 2008 13:41:39 +0000 (+0000) Subject: Make clear that the constants are strings. X-Git-Tag: v2.6a2~426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72780a4b0c4cf31e7e53cd4fd5d107b2e17a9f35;p=python Make clear that the constants are strings. --- diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 2399f33cbd..dc2555f591 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -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