12.21 Feb 6, 2008
2
3- Added log_and_die() and log_and_croak() methods. Patch by Yuval
4  Kogman.
5
6
72.20 Nov 2, 2007
8
9- One of the tests failed on Perl 5.6.x. Thanks to Slaven Rezic for
10  the report.
11
12
132.19 Nov 1, 2007
14
15- Switched to providing a traditional Makefile.PL as well as a
16  Build.PL file. RT #27208.
17
18- When permissions are specified for a Log::Dispatch::File object,
19  don't try to chmod the file unless the permissions of the file
20  differ from what the file already has. Based on a patch by Kevin. RT
21  #28151.
22
23- Require at least Perl 5.6.0.
24
25- Remove the tests for the email sending and exit codes, since the
26  test had a heisenbug I could not understand. I _think_ the code in
27  the email modules is correct, but the test isn't proving anything.
28
29- Added a binmode parameter for Log::Dispatch::File. Based on a patch
30  by Angelo. RT #26063.
31
32
332.18 May 12, 2007
34
35- Log::Dispatch::ApacheLog should really now work under mod_perl 2, as
36  well as mod_perl 1. RT #26910.
37
38
392.17 Mar 31, 2007
40
41- Log::Dispatch::ApacheLog should now work under mod_perl 2, as well
42  as mod_perl 1.
43
44
452.16 Dec 19, 2006 (Happy Birthday, Dad!)
46
47- Don't require IO::String for running the tests. Reported by Andreas
48  Koenig. RT #23973.
49
50- Moved Test::More to build_requires. Suggested by Andreas Koenig. RT
51  #23973.
52
53
542.15 Dec 16, 2006
55
56- Don't try to test compilation of L::D::Syslog unless Sys::Syslog is
57  available. Patch by Kenichi Ishigaki. RT #23751.
58
59- Allow a subroutine reference as a log message when callin
60  Log::Dispatch->log(). Suggested by Craig Manley. RT #23913.
61
62- Added Log::Dispatch::Null output, primarily for testing.
63
64
652.14 Nov 18, 2006
66
67This release only involves changes to the test suite.
68
69- Make sure we don't fail if Apache::Log is not installed on the
70  system. RT #22791. Reported by Lee Goddard.
71
72- Separated out compilation tests from other tests.
73
74
752.13 Sep 25, 2006
76
77- No code changes, just added a SUPPORT section to the docs referring
78  folks to RT for bug reports & patches.
79
80
812.12 Aug 9, 2006
82
83- The various email sending modules could overwrite if they were in
84  buffered mode and they sent mail as a script exited. Reported by
85  Dean Kopesky.
86
87- Doc tweaks. Make reference to "Log Levels" section in output module
88  docs more explicit. RT #11224.
89
90
912.11 Jul 27, 2005
92
93- In tests, make sure filehandles are closed before reading or
94  unlinking the file.  Patch from Ron Savage.
95
96
972.10 Feb 11, 2004
98
99- No changes to the core code, just a change to the included
100  Makefile.PL so it works with Module::Build 0.23, which breaks
101  backwards compatibility (grr).
102
103- Fix a doc bug in Log::Dispatch::Syslog.  It defaults to using a unix
104  socket, not an inet socket.
105
106
1072.09 Jan 09, 2004
108
109- Fix a test failure on Win32 platforms.  The problem was in the test,
110  not the code.  Patch by David Viner.
111
112- Distro is now signed with Module::Signature.
113
114
1152.08 Nov 27, 2003
116
117- Added Log::Dispatch->would_log method, which indicates whether
118  logging will be done for a given log level.  Suggested by Ruslan
119  Zakirov.
120
121- Switched tests to use Test::More.
122
123
1242.07 Sep 27, 2003
125
126- Added Log::Dispatch::File::Locked.  Based on code from JAA Klunder.
127
128- Check all system call return values.
129
130- Fix warning from Log::Dispatch::File if it was loaded after
131Attribute::Handlers.  Reported by Mike Schilli.
132
133- Fixed up POD to pass pod tests.
134
135
1362.06 May 1, 2003
137
138  "Arise ye workers from your slumbers
139   Arise ye criminals of want
140   For reason in revolt now thunders
141   and at last ends the age of cant."
142
143- Added a permissions parameter to Log::Dispatch::File->new.  Based on
144  a patch from James FitzGibbon.
145
146
1472.05 Apr 18, 2003
148
149- Changed a code construct that seems to provoke a bug for Meng Wong,
150  but no one else ;)
151
152- Switched to Module::Build and removed interactive portion of
153  installation process.
154
155- Log::Dispatch::Email::MailSender was causing Mail::Sender to send
156  debug output to STDERR if warnings were on.  Now it's not.
157
158
1592.04 Mar 21, 2003  (the "not in my name" release)
160
161- The close_after_write option didn't actually do anything.  Fixed by
162  JAA Klunder.
163
164
1652.03 Feb 27, 2003
166
167- Log::Dispatch::ApacheLog would break if a log level was specified as
168  a number.  Reported by Kevin Goess.
169
170
1712.02 Feb 20, 2003
172
173- Added close_after_write option to Log::Dispatch::File.  Based on
174  patch from JAA Klunder.
175
176
1772.01 Jun 21, 2002
178
179- Added new module Log::Dispatch::Email::MailSender, provided by
180  Joseph Annino.
181
182- Log::Dispatch::Output now contains "use Log::Dispatch".
183
184- Now requires Params::Validate, which is used to validate parameter
185  for constructors and some other methods.
186
187- Add an 'autoflush' option to Log::Dispatch::File objects.  Suggested
188  by Jerrad Pierce.
189
190- Added some error checking to ::Email::MailSend.
191
192- Changed a carp to a warn in ::Email::MailSendmail.
193
194- Only warn if $^W is true.
195
196
1972.00 Apr 11, 2002
198
199** BACKWARDS INCOMPATIBILITY ALERT **
200
201- Use a standard hash reference for objects instead of pseudo-hashes.
202  ** THIS MAY BREAK EXISTING SUBCLASSES **.
203
204- Log::Dispatch::Screen claimed it defaulted to using STDERR but it
205  was lying, it defaulted to using STDOUT.  This has been changed so
206  that it really does default to STDERR.  Reported by James
207  FitzGibbon.
208
209
2101.80 Oct 27, 2001
211
212- Log::Dispatch::Syslog no longer requires syslog.ph for Perl >=
213  5.006.  Patch by Benoit Beausejour.
214
215- If you passed a mode parameter to Log::Dispatch::File it always
216  thought the mode was append, no matter what was passed.  Patch from
217  Luke Bakken.
218
219- Log::Dispatch::File no longer uses IO::File internally.
220
221
2221.79 May 15, 2001
223
224- Don't use $, internally.  Apparently this is usually undefined.
225  Instead, the convenience methods now simply take an array of
226  messages and turn it into a scalar by doing "@_".  Thanks to Dean
227  Kopesky for the bug report.
228
229
2301.78 Apr 19, 2001
231
232- Allow ApacheLog to take either an Apache or Apache::Server object.
233
234- Fix callback documentation in Log::Dispatch::Output.  Thanks to Rob
235  Napier.
236
237- Add flush method to Log::Dispatch::Email.  Patch submitted by Rob
238  Napier.
239
240
2411.77 Jan 2, 2001
242
243- The convenience methods named after the log levels ($log->debug,
244  $log->alert, etc.) can now take a list of scalars.  These are joined
245  together just like Perl's print function does.  Suggested by Tim
246  Ayers.
247
248
2491.76 Oct 10, 2000
250
251- New method: Log::Dispatch->level_is_valid($string).  Suggested by
252  Jeff Hamman.
253
254- Fix for version issues between CPAN versions of
255  Log::Dispatch::ApacheLog.  Reported by Jost Krieger.
256
257
2581.75 Sep 28, 2000
259
260- Additional argument 'level' passed to message processing callbacks.
261  Suggested by Jeff MacDonald.
262
263- Log/Dispatch.pm: added docs section on Log::Dispatch::Tk.
264
265
2661.7 Aug 30, 2000
267
268- Added Log/Dispatch/ApacheLog.pm.  This logs to the Apache error log.
269  This is for use under mod_perl.
270
271
2721.6 Jul 4, 2000
273
274NOTE: 1.5 was never released to CPAN.
275
276- Log/Dispatch.pm: Added convenience methods for log levels like
277  $dispatcher->alert($message).  Suggested by Dominique Dumont.
278
279
2801.5
281
282This version introduces some changes into the interface that will
283cause incompatibility with any Log::Dispatch::Output interface you may
284have created.  However, it is fairly simple to fix.  Simply change the
285method in your subclass named 'log' to be called 'log_message'.  You
286can also remove the line:
287
288  return unless $self->_should_log($params{level});
289
290This is now done before the message ever gets to the Output subclass
291(which is what it should have done in the first place, really.)
292
293This was done so that I could allow per-Output object callbacks, a
294feature which several people have requested and which seems useful
295enough to warrant the breakage.
296
297NOTE: This change is transparent if you are only using the Output
298objects included with this distribution.
299
300- Many: Changed the interface to allow per-Output object level
301  callbacks and documented this.
302
303- Log/Dispatch/Base.pm: new base class for both Log::Dispatch and
304  Log::Dispatch::Output objects (contains callback related code).  You
305  should never need to deal with this class unless you are me.
306
307- Log/Dispatch/Output.pm: document _accepted_levels.
308
309- Log/Dispatch/Output.pm: Fix _accepted_levels so that emergency level
310  is returned as 'emergency', not 'emerg'.
311
312- Log/Dispatch.pm: Fix doc bug (change 'file' to 'filename').  Thanks
313  to Clayton Scott.
314
315- Log/Dispatch/File.pm: Do compile time check for O_APPEND constant
316  rather than run time check.
317
318
3191.2 May 5, 2000
320
321- Log/Dispatch.pm: Added callbacks parameter to Log::Dispatch->new.  I
322  will also be adding this to the Log::Dispatch::* classes via
323  Log::Dispatch::Output but I wanted to get this new version out there
324  because I think there are people out there who would benefit from
325  this.
326
327- Log/Dispatch.pm: Added docs section on why Log::Dispatch doesn't add
328  newlines to outgoing messages.
329
330
3311.11 Feb 24, 2000
332
333- Realized I need to tweak the $VERSION in Log::Dispatch
334
335
3361.1 Feb 24, 2000
337
338- Upped version to 1.1 to indicate my confidence in this release (I'm
339  just asking for bug reports, I know).
340
341- Added accepted_levels method to Log::Dispatch::Output based on
342  discussions with Dominique Dumont (author of the Log::Dispatch::Tk
343  suite).
344
345- Canonical names for log levels are now the unabbreviated form
346  (though the abbreviated ones used by syslog are still fine and there
347  is no plan to deprecate them).  This really only affects what is
348  returned by the new accepted_levels method.
349
350
3511.010 Jan 17, 2000
352
353- Fixed a bug in the DESTROY method of Log::Dispatch::Email that
354  caused an annoying error and may have caused spurious emails to be
355  sent (thanks to Radu Greab).
356
357- Fixed a bug in Log::Dispatch::Email::MailSendmail.  For some reason
358  this module demands a 'from' address.
359
360
3611.009 Jan 2, 2000
362
363- Created this version simply to address an issue with CPAN and my
364  internal version numbers having a conflict.  This has no changes
365  from 1.008.
366
367
3681.008 Dec 30, 1999
369
370- Fixed a bug causing unitialized value warnings with -w (oops).
371
372- Fixed a minor mistake in Log::Dispatch::Syslog docs (thanks to Ilya
373  Martynov)
374
375- Put newlines into messages in SYNOPSIS sections for some modules.
376  This is to clarify that you need to do this.  Just to be clear,
377  Log::Dispatch does not alter message content in any manner
378  whatsoever (and never will).  However, it would be trivial to
379  subclass Log::Dispatch to do this.
380
381
3821.007 Dec 1, 1999
383
384- First public release.  It passes its own test suite so it should
385  work (he says hopefully).
386