Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug in handling of args in LogRecord.__init__. | Vinay Sajip | 2004-10-21 | 1 | -1/+1 |
| | |||||
* | Changed handling of args in LogRecord.__init__. | Vinay Sajip | 2004-10-20 | 1 | -2/+17 |
| | |||||
* | Changes made to maintain 1.5.2 compatibility. | Vinay Sajip | 2004-10-03 | 1 | -6/+27 |
| | |||||
* | Version number updated to 0.4.9.5 | Vinay Sajip | 2004-10-03 | 1 | -2/+2 |
| | |||||
* | Added log() function | Vinay Sajip | 2004-09-24 | 1 | -0/+8 |
| | |||||
* | Added exception handling during handler initialization in fileConfig() | Vinay Sajip | 2004-09-24 | 1 | -24/+27 |
| | |||||
* | Added getLoggerClass() | Vinay Sajip | 2004-09-22 | 1 | -12/+15 |
| | |||||
* | Fixed bug in DatagramHandler.send() | Vinay Sajip | 2004-08-24 | 1 | -0/+2 |
| | |||||
* | Patch #791776: Replace SMTPHandler.date_time with email.Utils.formatdate. | Martin v. Löwis | 2004-08-18 | 1 | -16/+2 |
| | |||||
* | Updated Logger.log() docstring to clarify that lvl parameter should be an ↵ | Vinay Sajip | 2004-08-04 | 1 | -1/+1 |
| | | | | integer. | ||||
* | Ignore exceptions which occur when closing files in shutdown() | Vinay Sajip | 2004-07-29 | 1 | -2/+7 |
| | |||||
* | Removed debugging print statements from TimedRotatingFileHandler, and sorted ↵ | Vinay Sajip | 2004-07-12 | 1 | -3/+4 |
| | | | | list returned by glob.glob() (SF #987166) | ||||
* | Add exception handling for BaseRotatingFileHandler (SF #979252) | Vinay Sajip | 2004-07-08 | 1 | -3/+6 |
| | |||||
* | FileHandler now stores the basename as an absolute path (fix for SF #982049) | Vinay Sajip | 2004-07-08 | 1 | -2/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2004-07-07 | 2 | -6/+6 |
| | |||||
* | Refactored RotatingFileHandler to create a base class for rotating ↵ | Vinay Sajip | 2004-07-03 | 1 | -11/+167 |
| | | | | handlers. Added TimedRotatingFileHandler. | ||||
* | Changed basicConfig() to add keyword arguments. Changes are backward-compatible. | Vinay Sajip | 2004-07-03 | 1 | -10/+56 |
| | | | | | 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. | ||||
* | Removed spurious import statement | Vinay Sajip | 2004-03-08 | 1 | -2/+0 |
| | |||||
* | Minor documentation changes | Vinay Sajip | 2004-02-28 | 3 | -9/+11 |
| | |||||
* | Added close() (which flushes) to BufferingHandler and tidied ↵ | Vinay Sajip | 2004-02-21 | 1 | -2/+10 |
| | | | | MemoryHandler.close() [SF #901330] | ||||
* | Handler close() functions call flush() [SF #901330] | Vinay Sajip | 2004-02-21 | 1 | -3/+4 |
| | |||||
* | Copyright year & version number/version date changes. | Vinay Sajip | 2004-02-20 | 1 | -8/+36 |
| | | | | | | | | 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. | ||||
* | Copyright year change. | Vinay Sajip | 2004-02-20 | 1 | -17/+67 |
| | | | | | | | 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. | ||||
* | Copyright year change. | Vinay Sajip | 2004-02-20 | 1 | -2/+7 |
| | | | | | Corrections to comments. Added RESET_ERROR definition. | ||||
* | SF bug #835457: Small typo in logging documentation | Raymond Hettinger | 2003-11-08 | 1 | -1/+1 |
| | |||||
* | SF patch #761519: Fixes for bugs 760703 and 757821 | Raymond Hettinger | 2003-06-27 | 2 | -15/+25 |
| | | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821). | ||||
* | Fix SF bug #723801, logging.setLoggerClass() doesn't support new-style classes | Neal Norwitz | 2003-04-23 | 1 | -2/+0 |
| | |||||
* | SF patch #725904, Minor changes to logging from module author (Vinay Sajip) | Neal Norwitz | 2003-04-23 | 2 | -16/+31 |
| | | | | - upgrade to version 0.4.8 | ||||
* | Undo the apply() removals; this code needs to run under Python 1.5.2. | Guido van Rossum | 2003-03-02 | 2 | -14/+14 |
| | |||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 2 | -14/+14 |
| | |||||
* | getpid doesn't exist on MacOS9. | Jack Jansen | 2003-02-21 | 1 | -1/+4 |
| | |||||
* | SF patch #687683, Patches to logging (updates from Vinay) | Neal Norwitz | 2003-02-18 | 2 | -41/+73 |
| | | | | | | Mostly rename WARN -> WARNING Other misc tweaks Update tests (not in original patch) | ||||
* | amk pointed out that syslog may use UDP or TCP sockets. | Neal Norwitz | 2003-01-26 | 1 | -1/+7 |
| | | | | Update to try UDP, if that fails, try TCP. | ||||
* | SF #642974, logging SysLogHandler proto type wrong | Neal Norwitz | 2003-01-26 | 1 | -1/+1 |
| | | | | Syslog uses UDP (SOCK_DGRAM) | ||||
* | Use lightweight introspection instead of the inspect module hammer. | Jeremy Hylton | 2003-01-23 | 1 | -24/+18 |
| | | | | | | | Removing locking are findCaller() calls as the implementation using sys._getframe() is thread-safe. Changes reviewed by Vinay. | ||||
* | Fix what I believe is a bug: when removing all previous handlers, | Guido van Rossum | 2002-12-20 | 1 | -2/+2 |
| | | | | should copy the handlers list because it's being modified by the loop. | ||||
* | SF Patch #638825 | Neal Norwitz | 2002-11-15 | 1 | -4/+7 |
| | | | | | Fix pychecker warnings, port arg was unused (it was always the default) Need a global statement for _listener | ||||
* | SF Patch #638825 logging module | Neal Norwitz | 2002-11-15 | 1 | -3/+3 |
| | | | | Fix pychecker warnings, remove unused imports and rename root | ||||
* | From SF patch 638299 [by Vinaj]: fileConfig() now takes an optional | Guido van Rossum | 2002-11-14 | 1 | -2/+2 |
| | | | | defaults dictionary parameter which is passed to ConfigParser. | ||||
* | Get rid of #! lines, references to usage as __main__, README.txt, and | Guido van Rossum | 2002-11-13 | 3 | -36/+4 |
| | | | | http://www.red-dove.com/python_logging.html. | ||||
* | Adding Vinay Sajip's logging package. | Guido van Rossum | 2002-11-13 | 3 | -0/+2190 |