Debian Codegraph @

ChangeLog

raw
1 0.90 Released at 2020-07-12.
2 - Fixed call of Sys::Hostname::hostname.
3
4 0.88 Released at 2016-08-08.
5 - Just fixed meta data.
6
7 0.87 Released at 2015-06-16.
8 - Implemented new option skip_message.
9
10 0.86 Released at 2015-06-12.
11 - Quick fix for dateext and fileopen.
12
13 0.85 Released at 2015-06-12.
14 - Added parameter dateext to Output::File.
15
16 0.84 Released at 2014-10-24.
17 - Fixed some version conflicts.
18
19 0.83 Released at 2014-10-23.
20 - Added method set_default_param.
21
22 0.82 Released at 2013-11-03.
23 - Fixed the calls of _raise_error (RT #89989).
24
25 0.81 Released at 2013-11-01.
26 - Added param utf-8 to Screen.pm and File.pm.
27
28 0.80 Released at 2013-10-04.
29 - Fixed RT #89250 - dump() calls Dumper() now only if the log
30 level is active.
31
32 0.79 Released at 2013-09-06.
33 - Added option "category".
34
35 0.78 Released at 2013-05-16.
36 - Fixed bug in validate->reload for default configs (RT #85346).
37
38 0.77 Released at 2013-05-15.
39 - Just fixed Pod::Coverage testing in 002-pod-coverage.t.
40
41 0.76 Released at 2012-11-19.
42 - Fixed dbi_handle in DBI.pm (RT #81155).
43
44 0.75 Released at 2012-03-09.
45 - Quick fix and replaced the "defined or" operator // with || in
46 Pattern.pm, line 101 for backward compability with Perl < 5.10.
47 Thanks to all CPAN smoker for the fix test reports!
48
49 0.74 Released at 2012-03-07.
50 - Removed "main" from _get_c_sub if caller returns undef.
51 Sorry, that was just for debugging :/
52 - 3 releases at one day... GRML
53
54 0.73 Released at 2012-03-07.
55 - Improved _get_c_sub in Pattern.pm (RT #75596).
56
57 0.72 Released at 2012-03-07.
58 - Some code improvements to tune Log::Handler.
59 Each value that is passed to set_pattern and is not code
60 will be embedded into sub{}.
61 - Add option utf8 to Screen.pm (RT #75593).
62
63 0.71 Released at 2011-02-10.
64 - Fixed RT#65515 and added dateformat to _split_options().
65
66 0.70 Released at 2011-01-07.
67 - Added exists_logger().
68 - get_logger() doesn't croak any more if a logger
69 doesn't exists.
70
71 0.69 Released at 2010-12-11.
72 - Just a full release.
73
74 0.68_01 Released at 2010-12-07.
75 - Added option dbi_handle to DBI.pm.
76 - Bug fix RT #63687.
77
78 0.68 Released at 2010-11-24.
79 - Fixed a bug in add(). It wasn't possible to pass more
80 than one output configuration to add().
81
82 0.67 Released at 2010-10-10.
83 - Fixed a bug in set_level. The new level was set correctly
84 but no message was logged because the output wasn't added
85 to the $self->{levels} array.
86
87 0.66 Released at 2010-09-27.
88 - Roled back again to 0.65 for different reasons.
89 - Fixed some spelling error in POD (RT #60005).
90 - It's not possible any more to create or get
91 more than one logger with get_logger() and
92 create_logger().
93
94 0.65_04 Released at 2010-09-07.
95 - Fixed a bug with filter_output in Log::Handler
96 and Log::Handler::Output.
97
98 0.65_03 Released at 2010-08-27.
99 - Added option filter (unused since 2008-07-25).
100 - Added method filter().
101
102 0.65_02 Released at 2010-08-16.
103 - Rollbacked to 0.65 :-)
104 - Fixed some spelling error in POD (RT #60005).
105 - Added option category that works like filter_caller
106 but it's nicer to configure.
107
108 0.65_01 Released at 2010-08-03.
109 - Modified create_logger and get_logger and added
110 the functionalety to create and fetch category loggers.
111 - Fixed some spelling error in POD (RT #60005).
112
113 0.65 Released at 2010-08-02.
114 - Modified Log::Handler::Output::DBI. Oracle is unable
115 to handle "select 1". The statement is changed to
116 "select 1 from dual".
117
118 0.64 Released at 2010-01-29.
119 - Fixed a bug in Email.pm on line 256 - $string can be
120 uninitialized.
121
122 0.63 Released at 2009-11-24.
123 - Fixed a typo in Email.pm (RT #51745).
124 - Added options cc and bcc to Email.pm - this was a
125 feature request.
126 - It's now possible to pass the log level to log()
127 of Sendmail.pm.
128
129 0.62 Released at 2009-11-06.
130 - Some bug fixes for reload() but it should run now :-)
131
132 0.61_04 Released at 2009-11-04.
133 - Fixed a little bug in Sendmail.pm - the tests returns
134 an error if no /usr/sbin/sendmail is found.
135 - Some code improvements in Handler.pm.
136
137 0.61_03 Released at 2009-11-01.
138 - Added a validate() functionality. It's really
139 useable to validate() before reload().
140
141 0.61_02 Released at 2009-11-01.
142 - Fixed a bug in Email.pm - $options -> $opts.
143 - Made some code improvements in Log::Handler.
144 - Added reload() to the test suite.
145 - Added UNIVERSAL to the dependencies.
146
147 0.61_01 Released at 2009-10-31.
148 - Added a reload functionality to Log::Handler and
149 all output-modules.
150
151 0.60 Released at 2009-10-23.
152 - File.pm: "append" is now the default for option
153 "mode"
154 - Full release.
155
156 0.59_02 Released at 2009-10-17.
157 - Default for option newline is now 1.
158
159 0.59_01 Released at 2009-10-11.
160 - Kicked deprecated module Log::Handler::Simple.
161 - Kicked _close, _lock, _unlock in File.pm and moved the
162 functionalety into log() and close().
163 - Kicked deprecated option "reconnect" from DBI.pm.
164 - Added Log::Handler::Output::Sendmail.
165
166 0.58 Released at 2009-10-07.
167 - Forget to kick Devel::Backtrace from Log::Handler::Simple.
168 - Log::Handler::Simple will be kicked in the next release.
169
170 0.57 Released at 2009-10-06.
171 - Kicked UNIVERSAL::require.
172 - Kicked Devel::Backtrace.
173
174 0.56 Released at 2009-06-06.
175 - Just a full version.
176
177 0.55_01 Released at 2009-06-05.
178 - Oops... there was no _raise_error routine in
179 Log::Handler::Output::Screen.
180 - Fixed a bug in Handler.pm - the hash reference that were
181 passed to add() were changed (RT #46631).
182
183 0.54 Released at 2009-05-27.
184 - Just a full version.
185
186 0.53_01 Released at 2009-05-27.
187 - Fixed a bug in Log::Handler::Output::DBI - it was unable
188 to create a valid dsn for sqlite (RT #46407).
189 - Added option dbname
190 - Added option data_source
191
192 0.52 Released at 2009-05-24.
193 - No changes, just a full version.
194
195 0.51_01 Released at 2009-05-22.
196 - Added method set_level() to Handler.pm to change the log
197 level at runtime.
198
199 0.51 Released at 2009-03-07.
200 - Just a full release.
201
202 0.50_01 Released at 2009-03-07.
203 - Fixed a bug in the output DBI.pm - if the connection to
204 the database was lost then the message lost as well even
205 if a reconnect was successful.
206 - Added option prepare_message.
207 - Fixed message_pattern - the formatted messages was
208 overwritten if message_pattern was set.
209 - Option reconnect from Log::Handler::Output::DBI is
210 deprecated.
211
212 0.50 Released at 2008-11-27.
213 - Added the functionality to create a application logger.
214 New functions are create_logger and get_logger.
215 - Added option expect_caller, what is the opposite of
216 option filter_caller.
217
218 0.49 Released at 2008-11-16.
219 - Added patterns %U and %G (user, group).
220 - Fixed a bug in Socket.pm. If the server gone then
221 Log::Handler croaks even if die_on_errors is disabled.
222 - Fixed a bug in Output.pm. $log->error(0) logs nothing.
223 $log->error('foo', undef, 'bar') caused a warning.
224
225 0.48 Released at 2008-10-28.
226 - Fixed a bug in Email.pm - no error message if a email
227 couldn't be send.
228 - Added Email::Date to send the date with a email.
229 - EMAIL: if the key $message->{level} exists then the level is
230 used in the subject: "$level: $subject". The level can
231 passed with the option message_pattern.
232
233 0.47 Released at 2008-09-04.
234 - Add new config features. Now it's possilbe to add the
235 configuration for the outputs as a array reference.
236 - Add method log() to log with the level as first argument:
237 log($level=>$msg).
238 - Kicked Changes.pm. Not needed any more.
239
240 0.46 Released at 2008-07-28.
241 - Fixed Plugin::YAML. It was created as Plugin::Config::YAML.
242 - Did some code/example improvements.
243
244 0.45 Released at 2008-07-25.
245 - Kicked $self->{caller_level} and replaced it with
246 Log::Handler::CALLER_LEVEL. The reason is that if dump(),
247 die() or warn() was called then the patterns %p, %f, %c or
248 %s was wrong.
249 - Changed option filter to filter_message and added a new
250 option called filter_caller.
251
252 0.44 Released at 2008-06-04.
253 - Fixed set_pattern(). It dies if the key name is something like
254 'x-name' because $m->{x-name} is not valid.
255 - Changed pattern %R to %r.
256
257 0.43 Released at 2008-05-21.
258 - Fixed log() in DBI.pm and Socket.pm - only try to reconnect
259 if persistent + reconnect is set to true. Sorry :(
260
261 0.42 Released at 2008-05-21.
262 - Added $|=1 to Screen.pm.
263 - warn() is now a shortcut for warning().
264 - Add flush() to Handler.pm, Output.pm and File.pm.
265 - Added Perl version 5.6.1 to Build.PL (use warnings & utf8).
266 - Added a licence file.
267 - Fixed reconnect in DBI.pm.
268 - Fixed a lot of POD typos.
269
270 0.41 Released at 2008-05-09.
271 - Messages will be send to all outputs, even if a output is
272 not able to log a message. In version 0.40 the handler
273 stopped if a message couldn't be logged. That was bad.
274 - Did a lot code, POD and internal doc improvements.
275
276 0.40 Released at 2008-05-04.
277 - A full release - finally :-)
278 - Kicked all <level>_and_trace and <level>_and_die methods.
279 Replaced them with $log->die and $log->trace.
280 - Did some code and POD improvements.
281
282 0.39_17 Released at 2008-04-29.
283 - Kicked all <level>_and_croak methods and carp() - to bloated.
284 - message_pattern and message_layout is now builded with eval.
285 - The patterns are not static any more. Changes at runtime are
286 possible with set_pattern().
287 - Fixed Log::Handler::Output::Email - forget to call sendmail()
288 if buffer is set to 0.
289 - Kicked option interval from Log::Handler::Output::Email.
290 - All log() methods of each output expects now a hash or a
291 hash reference with the message (message => $message).
292 Before this change it was possible to pass a hash reference
293 or a simple string: { message => $message } or just $message.
294 - Some other little improvements: POD, Code, Examples
295
296 0.39_16 Released at 2008-04-17.
297 - Kicked all <level>_and_exit() methods - to bloated.
298 - Added Log::Handler::Pattern.
299 - Added Log::Handler::Output::Socket.
300 - Added option filter and alias to the handler.
301 - Added close() to Log::Handler::Output::File.
302 - Added connect() and disconnect() to Log::Handler::Output::DBI.
303 - Added connect() and disconnect() to Log::Handler::Output::Socket.
304
305 0.38_15 Released at 2008-03-06.
306 - The old style of Log::Handler version 0.38 is now implemented as
307 Log::Handler::Simple.
308 - POD improved; added Changes.pod, Examples.pod.
309
310 0.38_14 Released at 2008-02-17.
311 - Forget to delete some POD parts - sorry :/
312
313 0.38_13 Released at 2008-02-17.
314 - Kicked trace() and option "trace".
315 - Added trace methods for each level.
316 - Added croak, carp, die and warn methods for different levels.
317 - Log::Handler::Levels is now the base class for all level methods.
318
319 0.38_12 Released at 2008-02-16.
320 - Released with a lot of POD, code and example improvements.
321
322 0.38_11 Released at 2008-02-15.
323 - Changed option message_keys to message_pattern.
324 I hope that was the last change of this name :/
325 - Fixed POD typos and improved the documentation.
326
327 0.38_10 Released at 2008-02-13.
328 - Added Log::Handler::Output::Screen.
329 - Added option "priority" to the handler.
330
331 0.38_09 Released at 2008-02-09.
332 - Fixed t/100-config.t. Config::General was loaded, but it's not
333 in the prereq list. Kicked GLOBREF from the validate list for
334 config filename in Log::Handler::Config.
335
336 0.38_08 Released at 2008-02-08.
337 - Kicked eval { } from Log::Handler::Output::DBI.
338 - Missed documentation for dbi_params in Log::Handler::Output::DBI.
339
340 0.38_07 Released at 2008-02-08.
341 - Replaced options prefix and postfix with message_layout.
342 - Added %m as message to placeholders.
343 - Renamed option setinfo to message_keys.
344 - Added Log::Handler::Output::DBI.
345 - A lot of other code improvements.
346 - Moved the main logic from Log::Handler::Logger back to
347 Log::Handler.
348 - Renamed Log::Handler::Logger to Log::Handler::Output. This module
349 builds the output message and is just for internal usage.
350 - Renamed all output modules from Logger to Output.
351 - Patterns are not global any more. Now the patterns are stored
352 into the Log::Handler object.
353 - Changed option debug to debug_trace. The reason is that the
354 option debug can be used for output objects.
355
356 0.38_06 Released at 2008-01-20.
357 - POD improved and a lot of POD typos fixed.
358 - Fixed splitToTree argument for plugin Config::Properties.
359 - Different code improvements.
360 - Add option setinfo to Log::Handler::Logger.
361 - The message is now handled with a hash ref intern.
362
363 0.38_05 Released at 2008-01-19.
364 - Very annoyingly... wrong description for Log::Handler::Logger::Forward.
365
366 0.38_04 Released at 2008-01-19.
367 - Fixed test for parameter 'filename' in t/03handler.t.
368 - Fixed a lot of typos and improved the code.
369 - Added Log::Handler::Logger::Forward.
370 - Added Log::Handler::Logger::Email with Net::SMTP.
371 - Added fatal() to Log::Handler.
372
373 0.38_03 Released at 2008-01-14.
374 - Added Log::Handler::Config.pm.
375 - Added plugins for Config::General, Config::Properties and YAML.
376 - Fixed some POD typos.
377
378 0.38_02 Released at 2008-01-13.
379 - Fixed test for 'mode' in t/03handler.t.
380 - POD and intern documentation improved.
381 - Fixed example examples/trace.pl.
382 - Kicked method levels() from Log::Handler::Logger.
383 - Added the option trace. With this option it's possible
384 to deactivate the logging of trace messages to a logfile.
385
386 0.38_01 Released at 2008-01-13.
387 - Added Log::Handler::Logger and moved the main logger logic to it.
388 - Now it's possible to define more than one log file. Each log file
389 got it's own Log::Handler::Logger object.
390 - The simple call of "Log::Handler->new()" will not create a default
391 output object for *STDOUT any more, it just creates an empty Log::Handler object.
392 - To add log file the method add() should be used. The first log file can be
393 defined by new().
394 - The methods close(), set_prefix(), get_prefix are not available any more.
395 - The placeholder <--LEVEL--> for the prefix is changed to %L. In addition there
396 are different other placeholders available and it's possible to define a postfix.
397 - trace() will trace caller informations to all log files that are defined.
398 - Did a lot of other code changes.
399
400 0.38 Released at 2007-09-29.
401 - Kicked set_log_buffer() and get_buffer_log().
402 - Did some code improvements and split _print() into different routines.
403 - The option filename isn't mandatory any more. The default is *STDOUT.
404
405 0.37_01 Released at 2007-07-20.
406 - Added set_buffer_log() and get_buffer_log() to Log::Handler.
407 - Kicked now the would_log_* methods. Since 0.33 the is_* methods exists
408 as replacement.
409
410 0.37 Released at 2007-07-04.
411 - Added option rewrite_to_stderr.
412 - Replaced syswrite to print in _print().
413
414 0.36 Released at 2007-06-15.
415 - Now it's possible to set utf8 on the filehandle.
416 - Kicked CLOSE().
417 - Kicked File::Stat because CORE::stat() is much faster and I did some
418 other improvements. Now _print() is ~50% faster if reopen is used.
419
420 0.35 Released at 2007-06-05.
421 - Added method trace() to prints caller() to the log file.
422 - Did some code improvements and fixed POD typos.
423
424 0.34 Released at 2007-05-22.
425 - Changed the regex /.*\z/ to /.\z|^\z/ to append a newline if not
426 exists because /.*\z/ seems to be a regex bug.
427
428 0.33 Released at 2007-05-09.
429 - Added 13 is_* methods. They do the same as the would_log_* methods.
430 - Added close() as replacement for CLOSE(). CLOSE() exists in further
431 releases but is deprecated.
432 - Did some code improvements and fix some POD typos.
433 - Kicked IO::Handle from PREREQS and autoflush myself on the file handle.
434
435 0.32 Released at 2007-04-26.
436 I jumped from 0.15 to 0.32 because there exists brownfields on backpan.
437 Replaced my own routine to get caller() informations with Devel::Backtrace.
438 Added the option debugger_skip.
439
440 0.15 Released at 2007-04-25.
441 - Fixed typos in POD.
442 - Changed the way to activate the debugger. Now the debugger is activated
443 over the call of new().
444
445 0.14 Released at 2007-04-24.
446 - Fixed "use Log::Handler debug => ...".
447
448 0.13 Released at 2007-04-20.
449 - Added the availability to activate debugging with "Log::Handler debug => 1".
450
451 0.12 Released at 2007-04-15.
452 - Fixed DESTROY(). DESTROY() tries to unlock $self->{fh} in any case.
453 - Autoflush wasn't set if the option "filename" was set to STDOUT or
454 STDERR or a GLOBREF.
455
456 0.11 Released at 2007-04-10
457 - Add the methods set_prefix() and get_prefix(). Did some POD changes.
458
459 0.11_02 Released at 2007-04-04
460 - Add the alternative to set "nothing" as option for minlevel and
461 maxlevel.
462
463 0.11_01 Released at 2007-04-04
464 - I changed the log levels because they wasn't in the right order.
465 0 debug is now 7
466 1 info is now 6
467 2 notice is now 5
468 3 warning is now 4
469 4 error is now 3
470 5 crit is now 2
471 6 alert is now 1
472 7 emergency is now 0
473 8 nothing is still the same
474 If you set maxlevel and minlevel as strings in your code than
475 you don't need to change your code, but if you used numbers
476 than you must change it! BIG sorry to all users that have to
477 re-write code in this case.
478 - Thanks to betterworld for his tipps about the log levels! (thx pepe ;-))
479
480 0.10 Released at 2007-04-04
481 - Add the alternative to set STDOUT and STDERR as a string
482 with the option "filename".
483
484 0.09 Released at 2007-03-01.
485 - Fixed t/03handler.t. The test log file was in unix format
486 t/Log-Handler-Test-File.log, now it use File::Spec catfile().
487 - Forget to CLOSE() the log file in t/03handler.t and test fails
488 on Windows.
489
490 0.08 Released at 2007-02-25.
491 - Now it's possible to hand off GLOBREF to option filename.
492 There are some options that will be forced automatical:
493 - fileopen => 1
494 - filelock => 0
495 - reopen => 0
496
497 0.07 Released at 2007-03-13.
498 - Fixed t/03handler.t.
499
500 0.06 Released at 2007-03-11.
501 - Fixed a bad typo in SYNOPSIS of POD.
502 - Changed the description in NAME of POD.
503
504 0.05 Released at 2007-03-11.
505 - Fixed some typos in the documentation.
506
507 0.04 Released at 2007-03-09.
508 - Fixed code in new(). There was three typos.
509
510 0.03 Released at 2007-03-09.
511 - Fixed t/03handler.t.
512 - Added some points to the documentation.
513 - Add an example for die_on_errors.
514 - Add an example to call syslog methods.
515 - Different code changes.
516 - Fixed new(). Now it returns undef if open()
517 fails.
518
519 0.02 Released at 2007-02-05.
520 - Added eight new methods:
521 would_log_debug()
522 would_log_info()
523 would_log_notice(), would_log_note()
524 would_log_warning()
525 would_log_error(), would_log_err()
526 would_log_critical(), would_log_crit()
527 would_log_alert()
528 would_log_emergency(), would_log_emerg()
529 - Changed the POD.
530
531 0.01 Released at 2007-02-04.
532 x.xx Thanks to Larry Wall and all other Perl developers for Perl :-)