Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Log-Dispatch
From: Wen Heping
Date: 2015-01-18 13:24:46
Message id: 20150118122447.09EF098@cvs.netbsd.org
Log Message:
Update to 2.44
Update DEPENDS
Upstream changes:
2.44 2014-10-18
- The fix for a buffered email output in the last release introduced a bug
with _non-buffered_ email outputs. This would cause a fatal error during
global destruction when the DESTROY method was called. Reported by Christ
Hutchinson. RT #99474.
2.43 2014-10-05
- Fixed the thread locking in Log::Dispatch::Syslog (I hope). The previous
version caused Perl to crash when per-thread locking was enabled. Note that
I don't use threads so I haven't tested this. Patch by Sergio Fernndez
Muoz. RT # 99208.
- If a buffered email output is being destroyed during global destruction and
still has messages in the buffer, we warn and do not attempt to send the
messages. During global destruction, the package we use to send email may
already be destroyed, leading to weird errors when we try to use
it. Reported by Mark Overmeer. RT #97733.
- In 2.42 I added the ability to pass a hashref for the socket parameter given
to Log::Dispatch::Syslog, but I forgot to mention this here. This is
necessary to support remote logging. Patch by David Coppit. RT #93045.
2.42 2014-08-12
- Added a Log::Dispatch->clone() method. This returns shallow clone. The
outputs and callbacks are shared, but changes to outputs and callbacks in
the clone do not affect the original, or vice versa.
- Added Log::Dispatch->outputs() method. This returns all the output objects
in a dispatch object.
- Added Log::Dispatch->callbacks() method. This returns all the callback subs
in a dispatch object.
- The Syslog output now calls Sys::Syslog::setlogsock() every time a message
is logged, since something else could have called it in between logging two
messages.
- Added a lock parameter to the Syslog output. If this is true, then logging
is done in the scope of a per-thread lock. Reported by Cedric Carree and
Franck Youssef. RT #67988 and #85013.
- Replaced Class::Load with Module::Runtime.
2.41 2013-07-22
- An error is now thrown if you call Log::Dispatch->log without a
level. Previously you'd just get a warning and then execution would continue
(without logging anything). Patch by Ross Attrill. RT #87133.
Files: