New submission from akira <4kir4...@gmail.com>:

Since Python 3.2 logging package doesn't support formatting flags for the 
`asctime` keyword, but the documentation uses them. For example in 
Doc/library/logging.rst:

  FORMAT = '%(asctime)-15s %(clientip)s %(user)-8s %(message)s'

should be replaced by:

  FORMAT = '%(asctime)s %(clientip)s %(user)-8s %(message)s'

The attached file 'doc-logging-asctime-r88640.patch' contains necessary changes.

An alternative solution would be to fix the logging package to restore the 
support.

----------
assignee: docs@python
components: Documentation
files: doc-logging-asctime-r88640.patch
keywords: patch
messages: 129524
nosy: akira, docs@python
priority: normal
severity: normal
status: open
title: logging doesn't support format flags for asctime keyword, but the docs 
use them
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20906/doc-logging-asctime-r88640.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11330>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to