41 Commits

Author SHA1 Message Date
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
Vinay Sajip
e12f71586a Ignore exceptions which occur when closing files in shutdown() 2004-07-29 09:19:30 +00:00
Vinay Sajip
5e9e9e19f7 Removed debugging print statements from TimedRotatingFileHandler, and sorted list returned by glob.glob() (SF #987166) 2004-07-12 09:21:41 +00:00
Vinay Sajip
3970c11157 Add exception handling for BaseRotatingFileHandler (SF #979252) 2004-07-08 10:24:04 +00:00
Vinay Sajip
4bbab2bde4 FileHandler now stores the basename as an absolute path (fix for SF #982049) 2004-07-08 10:22:35 +00:00
Tim Peters
4e0e1b6a54 Whitespace normalization. 2004-07-07 20:54:48 +00:00
Vinay Sajip
17c52d8493 Refactored RotatingFileHandler to create a base class for rotating handlers. Added TimedRotatingFileHandler. 2004-07-03 11:48:34 +00:00
Vinay Sajip
779e0c9334 Changed basicConfig() to add keyword arguments. Changes are backward-compatible.
Added error checking to log() to check that level is an integer, and raise a TypeError if not (as long as raiseExceptions is set).
Minor documentation corrections.
2004-07-03 11:47:26 +00:00
Vinay Sajip
4102478f46 Removed spurious import statement 2004-03-08 16:57:19 +00:00
Vinay Sajip
3f74284e1b Minor documentation changes 2004-02-28 16:07:46 +00:00
Vinay Sajip
f42d95ebd1 Added close() (which flushes) to BufferingHandler and tidied MemoryHandler.close() [SF #901330] 2004-02-21 22:14:34 +00:00
Vinay Sajip
3f9f84def4 Handler close() functions call flush() [SF #901330] 2004-02-21 22:12:32 +00:00
Vinay Sajip
ed6bb1414c Copyright year & version number/version date changes.
Exception traceback text is now cached.
Closing a handler now removes it from the internal _handlers list.
Handlers now chain to Handler.close() from their close() methods.
Exception info can be passed as a tuple in exc_info.
shutdown() is registered to be called at application exit.
2004-02-20 13:18:36 +00:00
Vinay Sajip
48cfe38e79 Copyright year change.
Corrections to comments.
Tracebacks can now be sent via SocketHandler.
SocketHandler now uses exponential backoff strategy.
Handlers now chain to Handler.close() from their close() methods.
2004-02-20 13:17:27 +00:00
Vinay Sajip
326441e72e Copyright year change.
Corrections to comments.
Added RESET_ERROR definition.
2004-02-20 13:16:36 +00:00
Raymond Hettinger
e21f606657 SF bug #835457: Small typo in logging documentation 2003-11-08 11:40:03 +00:00