New submission from Kirill <t...@0x746e.org.ua>: Index: library/logging.rst =================================================================== --- library/logging.rst (revision 78171) +++ library/logging.rst (working copy) @@ -1659,7 +1659,7 @@ StreamHandler ^^^^^^^^^^^^^
-.. module:: logging.handlers +.. currentmodule:: logging The :class:`StreamHandler` class, located in the core :mod:`logging` package, sends logging output to streams such as *sys.stdout*, *sys.stderr* or any @@ -1731,6 +1731,8 @@ .. versionadded:: 2.6 +.. currentmodule:: logging.handlers + The :class:`WatchedFileHandler` class, located in the :mod:`logging.handlers` module, is a :class:`FileHandler` which watches the file it is logging to. If the file changes, it is closed and reopened using the file name. ---------- assignee: georg.brandl components: Documentation messages: 99319 nosy: georg.brandl, x746e severity: normal status: open title: StreamHandler and FileHandler located in logging, not in logging.handlers versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7923> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com