12.34     2012-12-08
2
3- Fix a test bug that caused the tests to fail on all Perls before 5.16.0.
4
5
62.33     2012-12-07
7
8- Added a 'syswrite' option to Log::Dispatch::File which causes all writes to
9  use syswrite (so they're atomic). Patched by ether. RT #81669.
10
11- The File output's DESTROY method now checks to see if it's associated handle
12  is open before trying to close it. Patch by Jeffrey Thalhammer.
13
14
152.32     2012-05-24
16
17- Fix a test failure - test failed if you had 0.16 <= Sys::Syslog < 0.25
18  installed.
19
20- Added a kludgey test failure fix for failure on Cygwin. Patch by Christian
21  Carey. RT #77364.
22
23
242.31     2012-05-21
25
26- Added missing prereq - Class::Load.
27
28
292.30     2012-05-20
30
31- Remove Sys::Syslog as a prereq, since you can use this distro perfectly well
32  without it. Fixes RT #52065.
33
34- You can now pass a subroutine reference to the sugar methods like
35  $dispatch->debug() and friends. Requested by Jeffrey Thalhammer. RT #77308.
36
37- Calling sugar methods like $dispatch->warn or $dispatch->crit did not
38  normalize the log level, so the level would be passed to the outputs as
39  "warn", not "warning". Reported by Karen Etheridge. RT #77203.
40
41
422.29   2011-03-18
43
44- Add is_$level methods for compatibility with Log::Contextual. Patch by frew.
45
46
472.28   2010-12-13
48
49- The Log::Dispatch module still had version 2.26 in the last
50  release. Reported by Øyvind Skaar. RT #63876.
51
52
532.27   2010-10-16
54
55- Fix docs on handling of arrays passed to ->debug, ->error, etc. Requested by
56  Andrew Hanenkamp. RT #61400.
57
58- Allow an arrayref for the Syslog socket option. Requested by Paul
59  Bennett. RT #57631.
60
61- License is now Artistic 2.0.
62
63
642.26   2009-09-22
65
66- Doc updates. The 2.23 constructor API was still shown in all the output
67  subclasses. Fixed by Jon Swartz.
68
69
702.25   2009-09-15
71
72- Added a workaround for a weird tainting issue with Params::Validate. This
73  caused a taint exception when a Log::Dispatch::Syslog was created under
74  taint mode. Note that there is still a problem in Params::Validate itself,
75  this is just a hack.
76
77
782.24   2009-09-13
79
80- Simplified new constructor API (the 2.23 API is still silently supported but
81  not documented):
82
83      Log::Dispatch->new( outputs => [ [ 'File', ... ],
84                                       [ 'Screen', ... ],
85                                     ]
86                        );
87
88  Implemented by Jon Swartz.
89
90- All of the mail sending modules now warn unconditionally if sending mail
91  fails. This removes the incorrect use of warnings::enabled() in some
92  modules. RT #43516.
93
94
952.23   2009-09-12
96
97- New constructor API that simplifies creating your Log::Dispatch object.
98  Implemented by Jon Swartz.
99
100- Made name parameter optional. We now auto-generate a unique name if one is
101  not given. Implemented by Jon Swartz.
102
103- Added a newline parameter that causes a newline to be added to each message,
104  and updated the documentation regarding newlines. Implemented by Jon Swartz.
105
106- Removed repetitive boilerplate documentation from each output
107  class. Implemented by Jon Swartz.
108
109- The level_names and level_numbers used internally are now computed once and
110  shared between output objects. Implemented by Jon Swartz.
111
112- Updated repo url - now at http://hg.urth.org/hg/Log-Dispatch
113
114- Explicitly depend on Sys::Syslog 0.16.
115
116- Added warn as a synonym for warning. RT #44821. Requested by Dylan Martin.
117
118- Added an add_callback method to Log::Dispatch and
119  Log::Dispatch::Output. This lets you add a new formatting callback after an
120  object is created. Based on a patch from Ricardo Signes. RT #48283.
121
122- The Log::Dispatch docs mistakenly told you to provide a log() method when
123  creating a new output class. RT #40561.
124
125- Made all modules have the same version as Log::Dispatch itself.
126
127
1282.22   2008-11-11
129
130- Fixed a bug where Log::Dispatch::Email would die when it tried to
131  log under taint mode. Patch by Neil Hemingway. RT #40042.
132
133- Fixed a misuse of warnings::enabled(). Reported by Darian
134  Patrick. RT #39784.
135
136- Syslog logging now requires Sys::Syslog 0.16+.
137
138- If you don't pass a socket argument to Log::Dispatch::Syslog, it
139  does not call Sys::Syslog::setlogsock(), which is the preferred
140  option for portability.
141
142* If any of the syslog calls die, this is trapped and the error is
143  output as a warning if warnings are on. This is mostly a workaround
144  for Sys::Sylog not handling utf-8. RT #35270 & #37397.
145
146  This isn't backwards-compatible, but it's probably wrong for the
147  logging code to die because it can't log (even though some other
148  output modules still do).
149
150
1512.21   2008-02-06
152
153- Added log_and_die() and log_and_croak() methods. Patch by Yuval
154  Kogman.
155
156
1572.20   2007-11-02
158
159- One of the tests failed on Perl 5.6.x. Thanks to Slaven Rezic for
160  the report.
161
162
1632.19   2007-11-01
164
165- Switched to providing a traditional Makefile.PL as well as a
166  Build.PL file. RT #27208.
167
168- When permissions are specified for a Log::Dispatch::File object,
169  don't try to chmod the file unless the permissions of the file
170  differ from what the file already has. Based on a patch by Kevin. RT
171  #28151.
172
173- Require at least Perl 5.6.0.
174
175- Remove the tests for the email sending and exit codes, since the
176  test had a heisenbug I could not understand. I _think_ the code in
177  the email modules is correct, but the test isn't proving anything.
178
179- Added a binmode parameter for Log::Dispatch::File. Based on a patch
180  by Angelo. RT #26063.
181
182
1832.18   2007-05-12
184
185- Log::Dispatch::ApacheLog should really now work under mod_perl 2, as
186  well as mod_perl 1. RT #26910.
187
188
1892.17   2007-03-31
190
191- Log::Dispatch::ApacheLog should now work under mod_perl 2, as well
192  as mod_perl 1.
193
194
1952.16 2010-10-16
196
197- Don't require IO::String for running the tests. Reported by Andreas
198  Koenig. RT #23973.
199
200- Moved Test::More to build_requires. Suggested by Andreas Koenig. RT
201  #23973.
202
203
2042.15   2006-12-16
205
206- Don't try to test compilation of L::D::Syslog unless Sys::Syslog is
207  available. Patch by Kenichi Ishigaki. RT #23751.
208
209- Allow a subroutine reference as a log message when callin
210  Log::Dispatch->log(). Suggested by Craig Manley. RT #23913.
211
212- Added Log::Dispatch::Null output, primarily for testing.
213
214
2152.14   2006-11-18
216
217This release only involves changes to the test suite.
218
219- Make sure we don't fail if Apache::Log is not installed on the
220  system. RT #22791. Reported by Lee Goddard.
221
222- Separated out compilation tests from other tests.
223
224
2252.13   2006-09-25
226
227- No code changes, just added a SUPPORT section to the docs referring
228  folks to RT for bug reports & patches.
229
230
2312.12   2006-08-09
232
233- The various email sending modules could overwrite if they were in
234  buffered mode and they sent mail as a script exited. Reported by
235  Dean Kopesky.
236
237- Doc tweaks. Make reference to "Log Levels" section in output module
238  docs more explicit. RT #11224.
239
240
2412.11   2005-07-27
242
243- In tests, make sure filehandles are closed before reading or
244  unlinking the file.  Patch from Ron Savage.
245
246
2472.10   2004-02-11
248
249- No changes to the core code, just a change to the included
250  Makefile.PL so it works with Module::Build 0.23, which breaks
251  backwards compatibility (grr).
252
253- Fix a doc bug in Log::Dispatch::Syslog.  It defaults to using a unix
254  socket, not an inet socket.
255
256
2572.09   2004-01-09
258
259- Fix a test failure on Win32 platforms.  The problem was in the test,
260  not the code.  Patch by David Viner.
261
262- Distro is now signed with Module::Signature.
263
264
2652.08   2003-11-27
266
267- Added Log::Dispatch->would_log method, which indicates whether
268  logging will be done for a given log level.  Suggested by Ruslan
269  Zakirov.
270
271- Switched tests to use Test::More.
272
273
2742.07   2003-09-27
275
276- Added Log::Dispatch::File::Locked.  Based on code from JAA Klunder.
277
278- Check all system call return values.
279
280- Fix warning from Log::Dispatch::File if it was loaded after
281Attribute::Handlers.  Reported by Mike Schilli.
282
283- Fixed up POD to pass pod tests.
284
285
2862.06   2003-05-01
287
288  "Arise ye workers from your slumbers
289   Arise ye criminals of want
290   For reason in revolt now thunders
291   and at last ends the age of cant."
292
293- Added a permissions parameter to Log::Dispatch::File->new.  Based on
294  a patch from James FitzGibbon.
295
296
2972.05   2003-04-18
298
299- Changed a code construct that seems to provoke a bug for Meng Wong,
300  but no one else ;)
301
302- Switched to Module::Build and removed interactive portion of
303  installation process.
304
305- Log::Dispatch::Email::MailSender was causing Mail::Sender to send
306  debug output to STDERR if warnings were on.  Now it's not.
307
308
3092.04   2003-03-21
310
311- The close_after_write option didn't actually do anything.  Fixed by
312  JAA Klunder.
313
314
3152.03   2003-02-27
316
317- Log::Dispatch::ApacheLog would break if a log level was specified as
318  a number.  Reported by Kevin Goess.
319
320
3212.02   2003-02-20
322
323- Added close_after_write option to Log::Dispatch::File.  Based on
324  patch from JAA Klunder.
325
326
3272.01   2002-06-21
328
329- Added new module Log::Dispatch::Email::MailSender, provided by
330  Joseph Annino.
331
332- Log::Dispatch::Output now contains "use Log::Dispatch".
333
334- Now requires Params::Validate, which is used to validate parameter
335  for constructors and some other methods.
336
337- Add an 'autoflush' option to Log::Dispatch::File objects.  Suggested
338  by Jerrad Pierce.
339
340- Added some error checking to ::Email::MailSend.
341
342- Changed a carp to a warn in ::Email::MailSendmail.
343
344- Only warn if $^W is true.
345
346
3472.00   2002-04-11
348
349** BACKWARDS INCOMPATIBILITY ALERT **
350
351- Use a standard hash reference for objects instead of pseudo-hashes.
352  ** THIS MAY BREAK EXISTING SUBCLASSES **.
353
354- Log::Dispatch::Screen claimed it defaulted to using STDERR but it
355  was lying, it defaulted to using STDOUT.  This has been changed so
356  that it really does default to STDERR.  Reported by James
357  FitzGibbon.
358
359
3601.80   2001-10-27
361
362- Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=
363  5.006.  Patch by Benoit Beausejour.
364
365- If you passed a mode parameter to Log::Dispatch::File it always
366  thought the mode was append, no matter what was passed.  Patch from
367  Luke Bakken.
368
369- Log::Dispatch::File no longer uses IO::File internally.
370
371
3721.79   2001-05-15
373
374- Don't use $, internally.  Apparently this is usually undefined.
375  Instead, the convenience methods now simply take an array of
376  messages and turn it into a scalar by doing "@_".  Thanks to Dean
377  Kopesky for the bug report.
378
379
3801.78   2001-04-19
381
382- Allow ApacheLog to take either an Apache or Apache::Server object.
383
384- Fix callback documentation in Log::Dispatch::Output.  Thanks to Rob
385  Napier.
386
387- Add flush method to Log::Dispatch::Email.  Patch submitted by Rob
388  Napier.
389
390
3911.77   2001-01-02
392
393- The convenience methods named after the log levels ($log->debug,
394  $log->alert, etc.) can now take a list of scalars.  These are joined
395  together just like Perl's print function does.  Suggested by Tim
396  Ayers.
397
398
3991.76   2000-10-10
400
401- New method: Log::Dispatch->level_is_valid($string).  Suggested by
402  Jeff Hamman.
403
404- Fix for version issues between CPAN versions of
405  Log::Dispatch::ApacheLog.  Reported by Jost Krieger.
406
407
4081.75   2000-09-28
409
410- Additional argument 'level' passed to message processing callbacks.
411  Suggested by Jeff MacDonald.
412
413- Log/Dispatch.pm: added docs section on Log::Dispatch::Tk.
414
415
4161.7   2000-08-30
417
418- Added Log/Dispatch/ApacheLog.pm.  This logs to the Apache error log.
419  This is for use under mod_perl.
420
421
4221.6   2000-07-04
423
424NOTE: 1.5 was never released to CPAN.
425
426- Log/Dispatch.pm: Added convenience methods for log levels like
427  $dispatcher->alert($message).  Suggested by Dominique Dumont.
428
429- This version introduces some changes into the interface that will
430  cause incompatibility with any Log::Dispatch::Output interface you may
431  have created.  However, it is fairly simple to fix.  Simply change the
432  method in your subclass named 'log' to be called 'log_message'.  You
433  can also remove the line:
434
435    return unless $self->_should_log($params{level});
436
437  This is now done before the message ever gets to the Output subclass
438  (which is what it should have done in the first place, really.)
439
440  This was done so that I could allow per-Output object callbacks, a
441  feature which several people have requested and which seems useful
442  enough to warrant the breakage.
443
444  NOTE: This change is transparent if you are only using the Output
445  objects included with this distribution.
446
447- Many: Changed the interface to allow per-Output object level
448  callbacks and documented this.
449
450- Log/Dispatch/Base.pm: new base class for both Log::Dispatch and
451  Log::Dispatch::Output objects (contains callback related code).  You
452  should never need to deal with this class unless you are me.
453
454- Log/Dispatch/Output.pm: document _accepted_levels.
455
456- Log/Dispatch/Output.pm: Fix _accepted_levels so that emergency level
457  is returned as 'emergency', not 'emerg'.
458
459- Log/Dispatch.pm: Fix doc bug (change 'file' to 'filename').  Thanks
460  to Clayton Scott.
461
462- Log/Dispatch/File.pm: Do compile time check for O_APPEND constant
463  rather than run time check.
464
465
4661.2   2000-05-05
467
468- Log/Dispatch.pm: Added callbacks parameter to Log::Dispatch->new.  I
469  will also be adding this to the Log::Dispatch::* classes via
470  Log::Dispatch::Output but I wanted to get this new version out there
471  because I think there are people out there who would benefit from
472  this.
473
474- Log/Dispatch.pm: Added docs section on why Log::Dispatch doesn't add
475  newlines to outgoing messages.
476
477
4781.11  2000-02-24
479
480- Realized I need to tweak the $VERSION in Log::Dispatch
481
482
4831.1   2000-02-24
484
485- Upped version to 1.1 to indicate my confidence in this release (I'm
486  just asking for bug reports, I know).
487
488- Added accepted_levels method to Log::Dispatch::Output based on
489  discussions with Dominique Dumont (author of the Log::Dispatch::Tk
490  suite).
491
492- Canonical names for log levels are now the unabbreviated form
493  (though the abbreviated ones used by syslog are still fine and there
494  is no plan to deprecate them).  This really only affects what is
495  returned by the new accepted_levels method.
496
497
4981.010   2000-01-17
499
500- Fixed a bug in the DESTROY method of Log::Dispatch::Email that
501  caused an annoying error and may have caused spurious emails to be
502  sent (thanks to Radu Greab).
503
504- Fixed a bug in Log::Dispatch::Email::MailSendmail.  For some reason
505  this module demands a 'from' address.
506
507
5081.009   2000-01-02
509
510- Created this version simply to address an issue with CPAN and my
511  internal version numbers having a conflict.  This has no changes
512  from 1.008.
513
514
5151.008   1999-12-30
516
517- Fixed a bug causing unitialized value warnings with -w (oops).
518
519- Fixed a minor mistake in Log::Dispatch::Syslog docs (thanks to Ilya
520  Martynov)
521
522- Put newlines into messages in SYNOPSIS sections for some modules.
523  This is to clarify that you need to do this.  Just to be clear,
524  Log::Dispatch does not alter message content in any manner
525  whatsoever (and never will).  However, it would be trivial to
526  subclass Log::Dispatch to do this.
527
528
5291.007   1999-12-01
530
531- First public release.  It passes its own test suite so it should
532  work (he says hopefully).
533