Commit graph

16 commits

Author SHA1 Message Date
rhaen
56a4000cd5 - updated to 1.31
Changelog:
1.31 (2010/10/27)
  *     (ms) Fixed the number of skipped tests for Windows for previous fix
        of [RT 60665].
2010-12-17 18:34:55 +00:00
wiz
5ee55dc748 Update to 1.30, improve COMMENT.
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.
2010-09-06 11:30:58 +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
sno
d15da0a91e Updating devel/p5-Log-Log4perl from 1.27 to 1.28
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.
2010-03-03 16:53:59 +00:00
sno
3c4a82d8a9 Updating devel/p5-Log-Log4perl from 1.25 to 1.27
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.
2010-02-15 16:05:27 +00:00
rhaen
ef67cf733c - Updated to 1.25
- 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).
2009-10-12 10:15:28 +00:00
sno
903b6b4ccb Updating package for p5 module Log::Log4Perl from 1.23 to 1.24
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.
2009-08-09 11:47:16 +00:00
sno
6280a7177e PkgSrc changes:
- 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).
2009-05-17 17:46:38 +00:00
sno
f616a9435d PkgSrc changes:
- 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.
2009-04-29 20:06:17 +00:00
rhaen
82da5bfb28 1.20 (2008/12/09)
*   (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.
2009-02-10 14:30:31 +00:00
rhaen
2b23095e31 - updated to 1.19
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.
2008-11-11 09:02:00 +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
54f568a8c2 updated to 1.18
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).
2008-09-13 13:41:20 +00:00
rhaen
1cc858aeba updated to 1.17
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).
2008-07-21 08:47:16 +00:00
abs
4e2c112899 Avoid (harmless) check-interpreter.mk error which breaks build with
PKG_DEVELOPER set:

REPLACE_PERL+=        lib/Log/Log4perl/Layout/PatternLayout/Multiline.pm
2008-07-15 11:02:48 +00:00
rhaen
8f4e2f70db - part of the fix for PR pkg/39128
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.
2008-07-13 15:23:10 +00:00