1.30 (2010/08/30)
* (ms) [RT 60665] HUP handlers are stacked on top of each other now,
to make sure that multiple file appenders recreate multiple
files and not just one (patch provided by Karen Etheridge).
* (ms) [RT 60197] Fixed uninitialized value warnings with
the multiline appender and provided a test case (patch provided
by Karen Etheridge)
* (ms) [rt.cpan.org #59617] Fixed system-wide threshold without appender
thresholds. Bug reported by Dmitry Bigunyak.
* (ms) [rt.cpan.org #24884] Using require() instead of incomplete
logic in L4p::Util::module_available(). local __DIE__
handler takes care of user-defined __DIE__ handlers
ignoring $^S (suggested by Eric Wilhelm and others).
* (ms) [rt.cpan.org #60386] Fixed init_and_watch() which
double-bumped the caller_level and led to uninitialized
values in the pattern layout. Thanks to Mitja Bartsch for
the report.
* (ms) Applied patch by Karsten Silkenbäumer to add an optional
$log_dispatch_level to create_custom_level(). Updated
documentation.
1.29 (2010/06/16)
* (ms) Added documentation on how to use Log4perl's :easy macros
with Catalyst in Log::Log4perl::Catalyst.
* (ms) wrapper_register() now deals with caller_depth automatically.
Backwards compatibility with old wrapper classes using
caller_depth directly is provided. Documentation has been
updated.
* (ms) Felix Antonius Wilhelm Ostmann reported Resurrector.pm
crashes, fixed as suggested by setting the %INC value to
the module path.
* (ms) Another caller_depth fix in Log::Log4perl::Catalyst.
* (ms) Fixed logdie() caller_depth bug reported by Rob Retter.
* (ms) [RT 56145] Saving errstr in DBI appender to survive ping()
* (ms) Added INTERNAL_DEBUG env variable to test suite triggering
all _INTERNAL_DEBUG statements to be printed for better
error diagnosis on misbehaving systems.
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!
Upstream changes:
1.28 (2010/02/24)
* (ms) Fixed caller stack with Buffer composite appender
* (ms) Fixed 'local caller_depth' error in various places. First
localizing a variable and then increasing it is incorrect,
as this ignores previous settings. The correct way of
increasing the caller level is: 'local depth = depth + 1'.
* (ms) Added Log::Log4perl::Catalyst for use in Catalyst applications.
pkgsrc changes:
- Using CPAN by-module master site - maintainer independent
- correcting file permissions of perl modules
Upstream changes:
1.27 (2010/02/07)
* (ms) ***WARNING: This might break backward compatibility
with some wrapper classes.
[RT 52913] Fixed category fetching in
wrapper classes (reported by Martin Evans). Wrapper classes
now need to call Log::Log4perl->wrapper_register to adapt
get_logger() category fetching. Detailed docs under
"Using Log::Log4perl with wrapper functions and classes"
* (ms) Made meta tag compatible with MakeMaker versions < 6.50
(ms) [RT 52083] Fixed manifest glitch from 1.26 (reported by
Lars Thegler).
* (ms) Added note to FAQ on 'no init happened' warnings for API
initializations, as suggested by Malcolm Nooning.
* (ms) Applied patch by Christopher Mckay which sets
Log4perl::Logger::INITIALIZED only if it's fully initialized.
* (ms) Emmanuel Rodriguez suggested changing TestBuffer's reset()
method to leave the logger population alone. Added clear()
to accomodate the need for a single buffer reset.
* (ms) Xavier Caron added %p{1} to allow abbreviated priority
strings in the pattern layout.
* (ms) Redid composite appenders to address problems with incorrect
caller() data. L4p now supports a $cache parameter to be
passed to the log() function, which stores the completely
rendered message and can be passed to log_cached() later on.
1.26 (2009/11/22)
* (ms) [RT 50495] Perl code in the config file is now evaluated/
compiled after the configuration parser has done its work,
opening up Perl subroutines to all configuration parsers, not
just PropertyConfigurator. Configuration subs for cspecs,
filter, warp_message and appender triggers are sheltered.
The previous, flawed implementation surfaced while using
a 'trigger' category, reported by Olivier Bilodeau.
* (ms) [RT 50090] Added non-portable linebreaks to PatternLayout
(requested by Zden??k Juran).
* (ms) [RT 50094] Docfix for PatternLayout in main manpage (spotted
by Peter Rabbitson).
* (ms) [RT 28679] Added exists() to "Threshold" keyword uppercase
check.
* (ms) Took out Class::Prototyped testcase after it got all weird
and introduced backward-incompatible changes.
- Changed MasterSite
ChangeLog upstream:
1.25 (2009/09/27)
* (ms) Appender::File is now closing (or sysclosing) the file
on file_close() instead of just undef'ing the handle.
* (ms) Added l4p-tmpl helper script to help whipping up a new
log4perl configuration file.
* (ms) Fixed uninitialized warning on XML configuration files,
reported by jbkilian on the sourceforge mailing list.
* (ms) Applied patch [RT 43426] by AFF <aff@cpan.org> to have
appender_thresholds_adjust return number of appenders changed.
* (ms) [RT 34400] New :nostrict target which allows redefining a
category within a Log4perl configuration file without error
or even a warning.
* (ms) [RT 34401] Applied patch by Jae Gangemi, who fixed
code references in @INC on Win32 systems.
* (ms) [RT 32259] Patternlayout now supports %R, which returns the
number of milliseconds elapsed from last logging event to
the current logging event (thanks to Emmanuel Rodriguez for
the patch).
* (ms) [RT 30899] Color configuration and attribute support
added to ScreenColoredLevels appender by Jason Kohles.
* (ms) [RT 28987] If UNIVERSAL is available, appender existence is
now verified by checking can() on the appender's new()
method (applied modified patch by Gabriel Berriz).
pkgsrc changes:
- Adjusting license according to module's POD
Upstream changes:
1.24 (2009/07/08)
* (ms) Fixed bug with Log::Log4perl::Util::tmpfile_name which
surfaced on VMS, reported by Ben Humphreys.
* (ms) Fixed system-wide threshold to no longer lower appender
thresholds. Bug reported by Jean-Denis Muys.
* (ms) Added benchmark to determine impact of eval-free handlers
* (ms) Merged with eval_free branch. Now there are no more
eval("") statements left in the code, making it much easier
to debug. Performance on init() is about the same, performance
on init_and_watch() (noops and logged statements alike) is
25% slower but still in the range of 400,000/sec on my
1.80Ghz CPU.
- Updating package for p5 module Log::Log4Perl from 1.21 to 1.23
Upstream changes:
1.23 (2009/05/12)
* (ms) DBI-1.608 removed a DBD::File 'feature' that allowed leaving
out parameters in a bound execute(). This caused the test
suite to fail (http://groups.google.com/group/perl.cpan.testers/browse_thread/thread/af1f5c875165c387). Fixed the test cases to pass the correct
number of parameters every time.
* (ms) Better error message in the DBI appender on bad SQL, missing
bind parameters, or other execute() errors.
* (ms) Made DBI test suite more robust against preexisting conditions
* (ms) Added force_next_check() for init_and_watch(), cleaned up
Config::Watcher code.
* (ms) Fixed test suite to run on Strawberry Perl on Win32 (reported
by kmx on https://rt.cpan.org/Ticket/Display.html?id=45983)
* (ms) Added 'utf8' option to screen appender and easy mode, some of
it suggested in
http://rt.cpan.org/Public/Bug/Display.html?id=36673 by
Shantanu Bhadoria.
1.22 (2009/05/02)
* (ms) is_xxx() returned true prior to L4p initialization. Fixed it
and adapted test suite.
* (ms) Added test cases on syswrite in recreate mode
* (ms) Applied patch by Jens Berthold <log4perl@jebecs.de> to
avoid semaphore cleanup in spawned children.
* (ms) Added %m{chomp} feature, 'message_chomp_before_newline' option,
and documentation on newlines and logging messages, all
suggested by Tim Bunce (see PatternLayout).
- Updating package for p5 module Log::Log4Perl to 1.21 from 1.20
- Setting license to gnu-gpl-v2
Upstream changes:
1.21 (2009/03/16)
* (ms) Documentation typos fixed, reported by Breno G. de Oliveira
[rt.cpan.org #42428].
* (ms) Fixed DBI appender error message, bug reported by DavidZ.
* (ms) Fixed [rt.cpan.org #43740] reported by Martin Koehler. Now using
proper POSIX return code EEXISTS instead of error message
depending on English locale.
* (ms) Using semctl to reset the value of the semaphore in the
Synchronized appender to prevent "Numerical result out of
range" problem caused by an unbalanced SEM_UNDO when
incrementing it. Reported by John Little.
* (ms) Added parameters in curly braces to cspecs in PatternLayout.
* (ms) As explained in http://rt.cpan.org/Ticket/Display.html?id=41505
the latest LWP release (5.822) got rid of all of its internal
debugging functions, making infiltrate_lwp() and its test
case useless. Disabling it for LWP>=5.822.
Changelog:
i1.19 (2008/10/22)
* (ms) Applied patch by Peter Rabbitson, which fixes the caller()
level when calling get_logger() on a subclass of Log4perl.
* (ms) Added documentation on is_xxx() methods and clarified that
it doesn't necessarily mean that a message gets logged if
they're returning true (requested by Conway Allen via
[rt.cpan.org #39085].
* (ms) Applied patch by Lee Johnson to appender_by_name() to allow
for undefined appender names without issuing a warning,
which was occurring with Catalyst::Log4perl.
* (ms) Added docs on numerical levels and level strings in
Log::Log4perl::Level.
* (ms) Applied patch by Anthony Foiani for support of literal
text in DateFormat format strings.
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=...").
Changelog:
1.18 (2008/08/23)
* (ms) Added explanation that categories and loggers are the same
thing (thanks to Rabbit).
* (ms) Fixed t/053Resurrect to work with 5.005_03
* (ms) Added preinit_callback function for init_and_watch()
* (ms) Applied patch by Andy Grundman which speeds up is_LEVEL()
calls by skipping unnecessary string concatenations
(http://rt.cpan.org/Ticket/Display.html?id=38537).
* (ms) Applied patch by Jae Gangemi addding a no_warning option to the
socket appender
(http://rt.cpan.org/Ticket/Display.html?id=34399).
ChangeLog:
1.17 (2008/07/19)
* (ms) Fixed test suite to run on Strawberry Perl on Win32.
* (ms) Added 'l4p' as a valid prefix in configuration files (equal
to 'log4j' and 'log4perl' now).
DESCR of the package:
Log::Log4perl lets you remote-control and fine-tune the logging
behaviour of your system from the outside. It implements the widely
popular (Java-based) Log4j logging package in pure Perl.