Commit graph

15 commits

Author SHA1 Message Date
rhaen
ab0bf93b7a - updated to 2.26
- Changelog from upstream
2.26 Sep 22, 2009

- Doc updates. The 2.23 constructor API was still shown in all the output
  subclasses. Fixed by Jon Swartz.
2009-10-12 10:06:47 +00:00
sno
69ed999cd5 Updating devel/p5-Log-Dispatch from 2.22 to 2.25
pkgsrc changes:
  - Adding license definition

Upstream changes:
2.25 Sep 15, 2009

- Added a workaround for a weird tainting issue with Params::Validate. This
  caused a taint exception when a Log::Dispatch::Syslog was created under
  taint mode. Note that there is still a problem in Params::Validate itself,
  this is just a hack.


2.24 Sep 13, 2009

- Simplified new constructor API (the 2.23 API is still silently supported but
  not documented):

      Log::Dispatch->new( outputs => [ [ 'File', ... ],
                                       [ 'Screen', ... ],
                                     ]
                        );

  Implemented by Jon Swartz.

- All of the mail sending modules now warn unconditionally if sending mail
  fails. This removes the incorrect use of warnings::enabled() in some
  modules. RT #43516.


2.23 Sep 12, 2009

- A new constructor API that simplifies creating your Log::Dispatch object:

      Log::Dispatch->new( outputs => [ File   => { ... },
                                       Screen => { ... },
                                     ],
                        );

  Implemented by Jon Swartz.

- Made name parameter optional. We now auto-generate a unique name if one is
  not given. Implemented by Jon Swartz.

- Added a newline parameter that causes a newline to be added to each message,
  and updated the documentation regarding newlines. Implemented by Jon Swartz.

- Removed repetitive boilerplate documentation from each output
  class. Implemented by Jon Swartz.

- The level_names and level_numbers used internally are now computed once and
  shared between output objects. Implemented by Jon Swartz.

- Updated repo url - now at http://hg.urth.org/hg/Log-Dispatch

- Explicitly depend on Sys::Syslog 0.16.

- Added warn as a synonym for warning. RT #44821. Requested by Dylan Martin.

- Added an add_callback method to Log::Dispatch and
  Log::Dispatch::Output. This lets you add a new formatting callback after an
  object is created. Based on a patch from Ricardo Signes. RT #48283.

- The Log::Dispatch docs mistakenly told you to provide a log() method when
  creating a new output class. RT #40561.

- Made all modules have the same version as Log::Dispatch itself.
2009-09-19 16:44:15 +00:00
rhaen
9ec164f761 Updated to 2.22
Changelog:
2.22 Nov 11, 2008

- Fixed a bug where Log::Dispatch::Email would die when it tried to
  log under taint mode. Patch by Neil Hemingway. RT #40042.

- Fixed a misuse of warnings::enabled(). Reported by Darian
  Patrick. RT #39784.

- Syslog logging now requires Sys::Syslog 0.16+.

- If you don't pass a socket argument to Log::Dispatch::Syslog, it
  does not call Sys::Syslog::setlogsock(), which is the preferred
  option for portability.

* If any of the syslog calls die, this is trapped and the error is
  output as a warning if warnings are on. This is mostly a workaround
  for Sys::Sylog not handling utf-8. RT #35270 & #37397.

  This isn't backwards-compatible, but it's probably wrong for the
  logging code to die because it can't log (even though some other
  output modules still do).
2008-12-10 16:50:21 +00:00
rhaen
0138eb520d - updated package to 2.21
Changelog:
2.21 Feb 6, 2008

- Added log_and_die() and log_and_croak() methods. Patch by Yuval
  Kogman.
2008-02-14 10:50:49 +00:00
rhaen
21d2d5e156 - updated to 2.20
- new maintainer
- PKG_DESTDIR_SUPPORT
- ok by joerg
Changelog:
2.20 Nov 2, 2007

- One of the tests failed on Perl 5.6.x. Thanks to Slaven Rezic for
  the report.


2.19 Nov 1, 2007

- Switched to providing a traditional Makefile.PL as well as a
  Build.PL file. RT #27208.

- When permissions are specified for a Log::Dispatch::File object,
  don't try to chmod the file unless the permissions of the file
  differ from what the file already has. Based on a patch by Kevin. RT
  #28151.

- Require at least Perl 5.6.0.

- Remove the tests for the email sending and exit codes, since the
  test had a heisenbug I could not understand. I _think_ the code in
  the email modules is correct, but the test isn't proving anything.

- Added a binmode parameter for Log::Dispatch::File. Based on a patch
  by Angelo. RT #26063.
2007-12-09 22:18:54 +00:00
wiz
8c8e2fde8b Update to 2.18:
2.18 May 12, 2007

- Log::Dispatch::ApacheLog should really now work under mod_perl 2, as
  well as mod_perl 1. RT #26910.


2.17 Mar 31, 2007

- Log::Dispatch::ApacheLog should now work under mod_perl 2, as well
  as mod_perl 1.
2007-06-08 11:22:39 +00:00
wiz
86c2dea9c6 Update to 2.16:
2.16 Dec 19, 2006 (Happy Birthday, Dad!)

- Don't require IO::String for running the tests. Reported by Andreas
  Koenig. RT #23973.

- Moved Test::More to build_requires. Suggested by Andreas Koenig. RT
  #23973.


2.15 Dec 16, 2006

- Don't try to test compilation of L::D::Syslog unless Sys::Syslog is
  available. Patch by Kenichi Ishigaki. RT #23751.

- Allow a subroutine reference as a log message when callin
  Log::Dispatch->log(). Suggested by Craig Manley. RT #23913.

- Added Log::Dispatch::Null output, primarily for testing.


2.14 Nov 18, 2006

This release only involves changes to the test suite.

- Make sure we don't fail if Apache::Log is not installed on the
  system. RT #22791. Reported by Lee Goddard.

- Separated out compilation tests from other tests.
2007-02-18 02:45:54 +00:00
obache
97d7876e1d Update p5-Log-Dispatch to 2.13.
Pkgsrc changes:
* Remove dependency p5-Test-Simple>=0.17, because base perl>=5.8.7 includes
  newer version.

Changes:
2.13 Sep 25, 2006

- No code changes, just added a SUPPORT section to the docs referring
  folks to RT for bug reports & patches.


2.12 Aug 9, 2006

- The various email sending modules could overwrite if they were in
  buffered mode and they sent mail as a script exited. Reported by
  Dean Kopesky.

- Doc tweaks. Make reference to "Log Levels" section in output module
  docs more explicit. RT #11224.
2006-11-01 13:34:30 +00:00
wiz
3769fbf191 Update to 2.11:
2.11 Jul 27, 2005

- In tests, make sure filehandles are closed before reading or
unlinking the file.  Patch from on Savage.
2005-11-23 22:13:36 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
f39090db9a Update to 2.10:
2.10 Feb 11, 2004

- No changes to the core code, just a change to the included
Makefile.PL so it works with Module::Build 0.23, which breaks
backwards compatibility (grr).


2.09 Jan 09, 2004

- Fix a test failure on Win32 platforms.  The problem was in the test,
not the code.  Patch by David Viner.

- Distro is now signed with Module::Signature.

Fixes PR 29481.
2005-02-21 12:17:08 +00:00
grant
9f8bff95c5 Updated p5-Log-Dispatch to 2.08.
changes since 1.79:

2.08 Nov 27, 2003

- Added Log::Dispatch->would_log method, which indicates whether
logging will be done for a given log level.

- Switched tests to use Test::More.


2.07 Sep 27, 2003

- Added Log::Dispatch::File::Locked.  Based on code from JAA Klunder.

- Check all system call return values.

- Fix warning from Log::Dispatch::File if it was loaded after
Attribute::Handlers.  Reported by Mike Schilli.

- Fixed up POD to pass pod tests.

2.06 May 1, 2003

- Added a permissions parameter to Log::Dispatch::File->new.  Based on
a patch from James FitzGibbon.

2.05 Apr 18, 2003

- Changed a code construct that seems to provoke a bug for Meng Wong,
but no one else ;)

- Switched to Module::Build and removed interactive portion of
installation process.

- Log::Dispatch::Email::MailSender was causing Mail::Sender to send
debug output to STDERR if warnings were on.  Now it's not.

2.04 Mar 21, 2003  (the "not in my name" release)

- The close_after_write option didn't actually do anything.  Fixed by
JAA Klunder.

2.03 Feb 27, 2003

- Log::Dispatch::ApacheLog would break if a log level was specified as
a number.  Reported by Kevin Goess.

2.02 Feb 20, 2003

- Added close_after_write option to Log::Dispatch::File.  Based on
patch from JAA Klunder.

2.01 Jun 21, 2002

- Added new module Log::Dispatch::Email::MailSender, provided by
Joseph Annino.

- Log::Dispatch::Output now contains "use Log::Dispatch".

- Now requires Params::Validate, which is used to validate parameter
for constructors and some other methods.

- Add an 'autoflush' option to Log::Dispatch::File objects.  Suggested
by Jerrad Pierce.

- Added some error checking to ::Email::MailSend.

- Changed a carp to a warn in ::Email::MailSendmail.

- Only warn if $^W is true.

2.00 Apr 11, 2002

** BACKWARDS INCOMPATIBILITY ALERT **

- Use a standard hash reference for objects instead of pseudo-hashes.
** THIS MAY BREAK EXISTING SUBCLASSES **.

- Log::Dispatch::Screen claimed it defaulted to using STDERR but it
was lying, it defaulted to using STDOUT.  This has been changed so
that it really does default to STDERR.  Reported by James FitzGibbon.

1.80 Oct 27, 2001

- Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=5.006.
Patch by Benoit Beausejour.

- If you passed a mode parameter to Log::Dispatch::File it always
thought the mode was append, no matter what was passed.  Patch from
Luke Bakken.

- Log::Dispatch::File no longer uses IO::File internally.
2003-12-29 12:20:48 +00:00
mjl
25875229af Update to 1.79.
- Don't use $, internally.  Apparently this is usually undefined.
  Instead, the convenience methods now simply take an array of messages
  and turn it into a scalar by doing "@_".
- Allow ApacheLog to take either an Apache or Apache::Server object.
- Fix callback documentation in Log::Dispatch::Output.
- Add flush method to Log::Dispatch::Email.
2001-06-06 13:18:57 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00