Commit Graph

56 Commits

Author SHA1 Message Date
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
Vinay Sajip
b9591174df Added getLoggerClass() 2004-09-22 12:39:26 +00:00
Vinay Sajip
fb154171c4 Fixed bug in DatagramHandler.send() 2004-08-24 09:36:23 +00:00
Martin v. Löwis
318a12eb01 Patch #791776: Replace SMTPHandler.date_time with email.Utils.formatdate. 2004-08-18 12:27:40 +00:00
Vinay Sajip
eb477d04f7 Updated Logger.log() docstring to clarify that lvl parameter should be an integer. 2004-08-04 08:38:08 +00:00