This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: WatchedFileHandler needs to be references as handlers.WatchedFileHandler in conf files
Type: behavior Stage: needs patch
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: Tom.Aratyn, georg.brandl, vinay.sajip
Priority: normal Keywords:

Created on 2010-02-03 23:32 by Tom.Aratyn, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg98803 - (view) Author: Tom Aratyn (Tom.Aratyn) Date: 2010-02-03 23:32
The documentation on using logging configuration files (http://docs.python.org/library/logging.html#configuring-logging) doesn't mention that the WatchedFileHandler needs to be referenced as "handlers.WatchedFileHandler". This behavior is different from most handlers (like FileHandler) which can be referenced without the package prefix. 

This surprise was experienced on python 2.6.4 on Ubuntu 9.10.
msg98854 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2010-02-04 20:24
Fix checked into trunk (r77973).
History
Date User Action Args
2022-04-11 14:56:57adminsetgithub: 52099
2010-02-04 20:24:54vinay.sajipsetstatus: open -> closed
resolution: fixed
2010-02-04 20:24:43vinay.sajipsetassignee: georg.brandl -> vinay.sajip
messages: + msg98854
2010-02-04 16:52:15r.david.murraysetversions: + Python 3.1, Python 2.7, Python 3.2
nosy: + vinay.sajip

priority: normal
type: behavior
stage: needs patch
2010-02-03 23:32:41Tom.Aratyncreate