70 Commits

Author SHA1 Message Date
Vinay Sajip
e531e5557a Reverted back to r67866. 2010-01-28 00:06:57 +00:00
Vinay Sajip
ec1cced4d4 Issue #7403: logging: Fixed possible race condition in lock creation. 2009-11-27 15:36:32 +00:00
Martin v. Löwis
0cc3ea620c Revert the following revisions, as they don't fix security
problems:
52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001,
53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580,
55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
2008-03-02 17:47:51 +00:00
Vinay Sajip
80ebe95855 Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__() 2007-10-24 10:51:23 +00:00
Vinay Sajip
1eb58d8455 Updated documentation for SysLogHandler (#1720726). 2007-05-25 07:26:26 +00:00
Vinay Sajip
0454bc2fae Minor fix for currentframe (SF #1652788). 2007-02-17 01:39:17 +00:00
Vinay Sajip
741e0bb5f4 Fixed bug in fileConfig where _handlerList was not being cleared. (SF #1632328) 2007-01-11 20:26:05 +00:00
Vinay Sajip
e518551a91 Backported change in shutdown(); now takes an optional handler-list argument. 2007-01-11 20:08:56 +00:00
Vinay Sajip
ddf3da8fc2 Patch by "cuppatea" (SF #1503765) 2006-12-11 14:33:45 +00:00
Vinay Sajip
e22f2610a3 Patch by Jeremy Katz (SF #1609407) 2006-12-11 14:09:34 +00:00
Georg Brandl
e00ffffed3 Fix missing import of the types module in logging.config.
(backport from rev. 51785)
2006-09-06 20:06:20 +00:00
Vinay Sajip
7622093f4f Removed buggy exception handling in doRollover of rotating file handlers. Exceptions now propagate to caller. 2006-06-27 07:37:45 +00:00
Vinay Sajip
5ae66c28e2 StreamHandler now checks explicitly for None before using sys.stderr as the stream (see SF bug #1463840). 2006-04-12 10:02:00 +00:00
Vinay Sajip
2c20676e51 Catch situations where currentframe() returns None. See SF patch #1447410, this is a different implementation. 2006-03-20 09:22:40 +00:00
Vinay Sajip
ae654d7f9a Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:28:59 +00:00
Vinay Sajip
e97f029ede TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time. 2006-01-16 09:14:47 +00:00
Vinay Sajip
f52cba13fd Fixed bug in time-to-midnight calculation. 2006-01-16 09:10:05 +00:00
Vinay Sajip
fc04fcc110 Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch) 2005-11-09 13:56:10 +00:00
Vinay Sajip
3d98ef6c9e Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError 2005-10-31 14:30:37 +00:00
Vinay Sajip
5e49f0dcb6 Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError 2005-10-31 14:20:56 +00:00
Vinay Sajip
5dee43bddc One-off "No handlers..." error message only raised if raiseExceptions is set. 2005-10-23 22:36:53 +00:00
Neal Norwitz
1d8dea604f Don't use a string exception since it's deprecated 2005-10-21 06:00:58 +00:00
Vinay Sajip
a479c2e8cf Optimised Placeholders handling of child loggers by using a dict rather than a list (much slower in the pathological case of hundreds of child Loggers to a Placeholder - problem reported by Ryan Blazecka). 2005-10-14 09:37:54 +00:00
Vinay Sajip
a9205efd5e Added Host and Content-type headers to requests sent by HTTPHandler (suggested by Steven Vereecken) 2005-10-11 13:16:46 +00:00
Vinay Sajip
3159fdbdb5 Fixed bug where the logging message was wrongly being demoted from Unicode to string (SF #1314107) 2005-10-07 08:36:33 +00:00