Commit Graph

20 Commits

Author SHA1 Message Date
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