Commit graph

60 commits

Author SHA1 Message Date
mef
9f1ca0f39b - Add BUILD_DEPENDS+= p5-Test-Needs-[0-9]* for make test 2016-09-16 15:28:17 +00:00
wen
a2b3f7991b Update to 2.57
Upstream changes:
2.57     2016-08-13

- Added a remove_callback method to the main Log::Dispatch object as well as
  all outputs.
2016-08-16 00:41:20 +00:00
mef
1e2fa812f3 Updated devel/p5-Log-Dispatch to 2.56
-------------------------------------
2.56     2016-05-06
- Cleaned up some cruft in Pod. Some sections ended up in there twice.

2.55     2016-05-06
- The values of $@, $!, and $? are protected in various cases where they could
  end up being changed by logging code. Patch by Salvador Fandiño. GitHub #18.

- Treat MSYS2 like Cygwin in tests. Fix by Graham Ollis. GitHub #19.
2016-06-19 12:16:26 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
wiz
f269daa22a Reset maintainer (observer now). 2016-05-03 10:54:52 +00:00
wiz
6fccd06f4c Update p5-Log-Dispatch to 2.54.
2.54     2016-01-18

- Fixed File::Locked even more. While some deadlocks were eliminated, there
  was still an issue when a Log::Dispatch object was created in a parent
  process and then recreated in the children. If the close_after_write
  parameter was false, then there would be a deadlock.

- Made Syslog work on a threaded Perl when the threads module was not
  explicitly loaded. Fixed by Konrad Bucheli. GitHub #13.

- The log() method now accepts a level parameter as an integer. Fixed by Steve
  Bertrand. GitHub #15.


2.53     2016-01-14

- Actually fix File::Locked, this time with some actual tests.


2.52     2016-01-13

- Make File::Locked output do an explicit unlock if the close_after_write
  option is not set. Without this it would open the file once in each process,
  attempting to get a lock at open time, pretty much guaranteeing a deadlock
  in a multiprocess environment. Now it should work sanely whether
  close_after_write is true or not.


2.51     2015-09-19

- Fixed t/08-screen.t on Windows platforms.
2016-04-13 18:05:00 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
mef
ff25ac6480 Update to 2.50
--------------
2.50     2015-09-02
- Changed how the Screen output handles UTF-8 data once more. The Screen
  module has gone back to printing output directly to the global STDOUT and
  STDERR handles. The previous changes broke the tests for several modules,
  including Log::Dispatch::Config. This change should fix them.
2015-09-04 08:49:41 +00:00
mef
1a0da57207 Update 2.46 to 2.49
-------------------
2.49     2015-08-21
- The Screen output now enables autoflush on the handle it uses to send output
  to STDOUT or STDERR every time it sends a message. This does not affect the
  global STDOUT or STDERR, as the Screen module makes its own handle for
  output. This fixes a bug reported by Karen Etheridge that caused this module
  to not play nicely with Capture::Tiny in some cases. RT #106605.

2.48     2015-08-07
- Fixed (I hope) tests that were added in the last release that fail on
  Windows.

2.47     2015-08-06
- Really, really make per-thread locking work. Depending on when threads and
  threads::shared were loaded, you might get an error like 'Type of arg 1 to
  threads::shared::share must be one of $@% at .../Log/Dispatch/Syslog.pm line
  67, near "$thread_lock)"'. Reported by David Schweikert.

- Added support for auth-related parameters and replyto to
  Log::Dispatch::Email::MailSender. Implemented by Rohan Carly. Based on
  GitHub #10.

- Added a utf8 flag for Log::Dispatch::Screen. If this is true, then it sets
  the ":encoding(UTF-8)" flag on the handle it uses for output (without
  affecting STDOUT or STDERR elsewhere). Suggested by Ivan Baidakou.
2015-09-02 12:40:18 +00:00
wen
cfd95cddc9 Update to 2.46
Upstream changes:
2.46     2015-08-05

- Really make the per-thread locking in the Syslog output work. Based on a
  patch by David Schweikert. GitHub #9.


2.45     2015-06-14

- Don't include threads and threads::shared in list of dependencies. This is
  only needed for Log::Dispatch::Syslog and is loaded at runtime as needed
  (which has its own issues but ...). Reported by Kent Fredric. RT #103392.
2015-08-06 04:15:52 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
mef
4cc0ca7247 Set TEST_TARGET?= # empty to skip make test
devel/autoconf  (but just add 2.69 status)
 devel/dejagnu
 devel/p5-ExtUtils-AutoInstall (infinite loop)
 devel/p5-Inline-C             (fail at t/27inline_maker.t)
 devel/p5-Search-Elasticsearch (several items)
Some other {net,devel}/p5-packages
 Set BUILD_DEPENDS+= for make test
2015-05-09 23:12:19 +00:00
wen
b81328cf09 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.
2015-01-18 12:24:46 +00:00
wiz
e8647fedbb Remove SVR4_PKGNAME, per discussion on tech-pkg. 2014-10-09 13:44:32 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
sno
6600a9046a Updating package for CPAN distribution Log-Dispatch in devel/p5-Log-Dispatch
from 2.35nb1 to 2.40.

pkgsrc changes:
- adjust license
- adjust dependencies

Upstream changes:
2.40     2013-07-01
- Added a conflict entry for older Log::Dispatch::File::Stamped to the
  metadata. Patch by Karen Etheridge.

2.39     2013-04-21
- You can now pass a port option to the MailSender output. Patch by Whitney
  Jackson.

2.38     2013-04-14
- Fix test that used undeclared prereqs so it does not do that.

2.37     2013-04-14
- Moved Log::Dispatch::File constructor parameter validation moved to
  _basic_init() to facilitate proper subclassing. Patch by ether. RT #84545.

2.36     2013-04-08
- Added a very simple Log::Dispatch::Code output. This lets you log to a
  subroutine reference.
- Added Sys::Syslog 0.25 as a prereq. This is a temporary fix to the problem
  of Log::Dispatch shipping lots of output modules with undeclared prereqs (so
  as not to require mod_perl, four email sending modules, etc.). In the future
  Log::Dispatch will be split into a core distro and a set of distros, one for
  each output that has prereqs. Reported by Michael Schwern. RT #84481.
2013-07-03 06:17:38 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
rhaen
5b4f6239e6 updated to 2.35
ChangeLog:
2.35     2013-01-20

- Added a big warning about the potential for deadlocks in the documentation
  for Log::Dispatch::File::Locked (ether).


2.34     2012-12-08

- Fix a test bug that caused the tests to fail on all Perls before 5.16.0.
2013-01-26 20:21:43 +00:00
wen
6400f10703 Update to 2.33
Upstream changes:
2.33     2012-12-07

- Added a 'syswrite' option to Log::Dispatch::File which causes all writes to
  use syswrite (so they're atomic). Patched by ether. RT #81669.

- The File output's DESTROY method now checks to see if it's associated handle
  is open before trying to close it. Patch by Jeffrey Thalhammer.
2012-12-08 12:10:18 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
sno
3fb54611d0 Updating package for Perl 5 module Log::Dispatch in devel/p5-Log-Dispatch
from 2.29 to 2.32.

pkgsrc changes:
- add missing dependency

Upstream changes:
2.32     2012-05-24

- Fix a test failure - test failed if you had 0.16 <= Sys::Syslog < 0.25
  installed.

- Added a kludgey test failure fix for failure on Cygwin. Patch by Christian
  Carey. RT #77364.


2.31     2012-05-21

- Added missing prereq - Class::Load.


2.30     2012-05-20

- Remove Sys::Syslog as a prereq, since you can use this distro perfectly well
  without it. Fixes RT #52065.

- You can now pass a subroutine reference to the sugar methods like
  $dispatch->debug() and friends. Requested by Jeffrey Thalhammer. RT #77308.

- Calling sugar methods like $dispatch->warn or $dispatch->crit did not
  normalize the log level, so the level would be passed to the outputs as
  "warn", not "warning". Reported by Karen Etheridge. RT #77203.
2012-07-05 14:06:59 +00:00
hiramatsu
2388fc2ec2 Update p5-Log-Dispatch to 2.29.
Change from previous:
---------------------
2.29

- Add is_$level methods for compatibility with Log::Contextual. Patch by frew.
2011-12-15 02:14:44 +00:00
obache
39619a9444 Revision bump after updating perl5 to 5.14.1. 2011-08-14 12:26:04 +00:00
rhaen
06793710ba - updated to 2.28
- package no longer uses Module::Build

Changelog:
2.28   2010-12-13

- The Log::Dispatch module still had version 2.26 in the last
  release. Reported by Øyvind Skaar. RT #63876.


2.27   2010-10-16

- Fix docs on handling of arrays passed to ->debug, ->error, etc. Requested by
  Andrew Hanenkamp. RT #61400.

- Allow an arrayref for the Syslog socket option. Requested by Paul
  Bennett. RT #57631.

- License is now Artistic 2.0
2010-12-17 18:30:10 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
rhaen
12bd687ce9 - Fixed a typo 2009-10-12 10:18:09 +00:00
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
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +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
43a1733298 Fixing error reported by babylon5.NetBSD.org weekly pkgsrc output (missing newline) 2007-12-16 07:13:15 +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
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +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
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
cc44d0be98 * Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pm
does.  This allows us to use dynamic PLISTs for Perl modules that are
  built using Module::Build.  Bump the PKGREVISION of p5-Module-Build
  to 1.

* Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable
  PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that
  names the framework used to build/install the module.

* Split out the variables set in perl5/buildlink3.mk that are also used
  by perl5/module.mk into a new file perl5/vars.mk.  Move some PERL5_*
  variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk.
  This just centralizes the common PERL5_* definitions into a single
  file location.

* Convert the known packages that use Module::Build to set
  PERL5_MODULE_TYPE and PERL5_PACKLIST:

	devel/p5-Class-Container
	devel/p5-Exception-Class
	devel/p5-Log-Dispatch
	devel/p5-Array-Compare
	textproc/p5-Pod-Coverage
	www/p5-Apache-Session-Wrapper
	www/p5-MasonX-Request-WithApacheSession
2005-02-24 22:38:41 +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
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +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
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00