60 Commits

Author SHA1 Message Date
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
Vinay Sajip
9bec7fa75b Misc. backported changes 2005-09-16 10:45:46 +00:00
Vinay Sajip
6721a3464a Added optional encoding argument to File based handlers and improved error handling for SysLogHandler 2005-03-31 20:12:55 +00:00
Vinay Sajip
2d6fe25689 Minor changes to imports 2005-03-31 20:11:45 +00:00
Vinay Sajip
d7937f0b43 Misc. changes 2005-03-31 20:10:38 +00:00
Vinay Sajip
dccd4321a7 Fixed bug in handling of args in LogRecord.__init__. 2004-10-21 21:24:27 +00:00
Vinay Sajip
4ed315ae66 Changed handling of args in LogRecord.__init__. 2004-10-20 08:39:40 +00:00
Vinay Sajip
e7d4066cdf Changes made to maintain 1.5.2 compatibility. 2004-10-03 19:12:07 +00:00
Vinay Sajip
2d5fee06e0 Version number updated to 0.4.9.5 2004-10-03 19:10:53 +00:00
Vinay Sajip
b2635b2f71 Added log() function 2004-09-24 11:45:52 +00:00
Vinay Sajip
02dd994adf Added exception handling during handler initialization in fileConfig() 2004-09-24 11:45:13 +00:00