Commit graph

26 commits

Author SHA1 Message Date
Vinay Sajip
5ff7171ddc Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
2008-06-29 21:25:28 +00:00
Vinay Sajip
5f7b97d987 Bug #3136: fileConfig()'s disabling of old loggers is now conditional via an optional disable_existing_loggers parameter, but the default value is such that the old behaviour is preserved.
Thanks to Leandro Lucarella for the patch.
2008-06-19 22:40:17 +00:00
Georg Brandl
392c6fc02d ConfigParser renaming reversal part 3: move module into place and adapt imports. 2008-05-25 07:25:25 +00:00
Georg Brandl
e152a77d96 socketserver renaming reversal part 3: move the module into the right
place and fix all references to it.  Closes #2926.
2008-05-24 18:31:28 +00:00
Alexandre Vassalotti
e2514c6f10 Updated import statements to use the new configparser module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.

Georg, I am reverting your changes since this commit should propagate
to py3k.
2008-05-14 22:44:22 +00:00
Alexandre Vassalotti
d192c925ac Updated all import statements to use the new socketserver module name.
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Vinay Sajip
95dd03b8b8 Fixed a bug reported (in private email, by Robert Crida) in logging configuration whereby child loggers of a logger named in a configuration file, which are not themselves named in the configuration, are disabled when the configuration is applied. 2007-11-11 14:27:30 +00:00
Vinay Sajip
66a1726620 Patch by "cuppatea" (SF #1503765) 2006-12-11 14:26:23 +00:00
Georg Brandl
4e933137af Fix missing import of the types module in logging.config. 2006-09-06 20:05:58 +00:00
Georg Brandl
f3e304297e Repair logging test spew caused by rev. 51206. 2006-08-12 08:32:02 +00:00
Vinay Sajip
cea4bf092d Fixed bug in fileConfig() which failed to clear logging._handlerList 2006-06-30 00:13:08 +00:00
Vinay Sajip
7a7160bd0c Added the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway. 2006-01-20 18:28:03 +00:00
Vinay Sajip
989b69a519 Refactoring for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:28:37 +00:00
Vinay Sajip
4c1423bb7a Documentation clarified re. config socket listener protocol 2005-06-05 20:39:36 +00:00
Vinay Sajip
8e628d2342 Made traceback unconditional, to avoid lock contention problems when logging errors occur in a custom importer (SF path #1158052). 2005-03-13 09:57:46 +00:00
Vinay Sajip
612df8e21d Handle errors in imports of thread, threading 2005-02-18 11:54:46 +00:00
Vinay Sajip
02dd994adf Added exception handling during handler initialization in fileConfig() 2004-09-24 11:45:13 +00:00
Vinay Sajip
3f74284e1b Minor documentation changes 2004-02-28 16:07:46 +00:00
Vinay Sajip
326441e72e Copyright year change.
Corrections to comments.
Added RESET_ERROR definition.
2004-02-20 13:16:36 +00:00
Guido van Rossum
0df6442ae5 Undo the apply() removals; this code needs to run under Python 1.5.2. 2003-03-02 20:47:29 +00:00
Guido van Rossum
68468eba63 Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
Guido van Rossum
24475896dd Fix what I believe is a bug: when removing all previous handlers,
should copy the handlers list because it's being modified by the loop.
2002-12-20 01:54:21 +00:00
Neal Norwitz
c4d047aad3 SF Patch #638825
Fix pychecker warnings, port arg was unused (it was always the default)
Need a global statement for _listener
2002-11-15 23:33:20 +00:00
Guido van Rossum
3165786dd1 From SF patch 638299 [by Vinaj]: fileConfig() now takes an optional
defaults dictionary parameter which is passed to ConfigParser.
2002-11-14 12:52:17 +00:00
Guido van Rossum
455ab77f34 Get rid of #! lines, references to usage as __main__, README.txt, and
http://www.red-dove.com/python_logging.html.
2002-11-13 16:18:29 +00:00
Guido van Rossum
57102f861d Adding Vinay Sajip's logging package. 2002-11-13 16:15:58 +00:00