logbook v0.2 Release Notes
-
๐ Released on September 21st. Codename "Walls of Text"
- 0๏ธโฃ Implemented default with statement for handlers which is an
alias for
threadbound
. applicationbound
andthreadbound
return the handler now.- ๐ฒ Implemented channel recording on the log records.
- The :class:
logbook.more.FingersCrossedHandler
now is set toERROR
by default and has the ability to create new loggers from a factory function. - Implemented maximum buffer size for the
:class:
logbook.more.FingersCrossedHandler
as well as a lock for thread safety. - โ Added ability to filter for context.
- ๐ Moved bubbling flags and filters to the handler object.
- ๐ Moved context processors on their own stack.
- Removed the
iter_context_handlers
function. - ๐ Renamed
NestedHandlerSetup
to :class:~logbook.NestedSetup
because it can now also configure processors. - โ Added the :class:
logbook.Processor
class. - There is no difference between logger attached handlers and context specific handlers any more.
- โ Added a function to redirect warnings to logbook
(:func:
logbook.compat.redirected_warnings
). - ๐ Fixed and improved :class:
logbook.LoggerGroup
. - โ
The :class:
logbook.TestHandler
now keeps the record open for further inspection. - ๐ The traceback is now removed from a log record when the record is closed. The formatted traceback is a cached property instead of a function.
- โ Added ticketing handlers that send logs directly into a database.
- โ Added MongoDB backend for ticketing handlers
- โ Added a :func:
logbook.base.dispatch_record
function to dispatch records to handlers independently of a logger (uses the default record dispatching logic). - ๐ Renamed
logger_name
tochannel
. - โ Added a multi processing log handler
(:class:
logbook.more.MultiProcessingHandler
). - โ Added a twitter handler.
- โ Added a ZeroMQ handler.
- โ Added a Growl handler.
- โ Added a Libnotify handler.
- โ Added a monitoring file handler.
- โ Added a handler wrapper that moves the actual handling into a background thread.
- ๐ง The mail handler can now be configured to deliver each log record not more than n times in m seconds.
- โ Added support for Python 2.5
- โ Added a :class:
logbook.queues.SubscriberGroup
to deal with multiple subscribers. - โ Added a :class:
logbook.compat.LoggingHandler
for redirecting logbook log calls to the standard library's :mod:logging
module.
- 0๏ธโฃ Implemented default with statement for handlers which is an
alias for