FAQ
Hi list,

I'm currently looking at the available modules for implementing
Log::Log4perl with my Catalyst app and would like to have some advice on it.

I've found and tried Catalyst::Plugin::Log4perl::Simple but when using
the module Catalyst warns about it using NEXT. So I'm wondering if it's
smart to use it in its current state.

When looking on I also found Log::Log4perl::Catalyst and
Catalyst::Log::Log4perl. Where the former is part of the Log::Log4perl
distribution. The latter still has some old issues open on which the
author hasn't responded yet. So to me it seems abandoned. Other than
that I don't really see much difference between both modules. I must
note though that the former is very new and is only available since
2010/02/24

From this I'd say using Log::Log4perl::Catalyst is the way to go: it's
part of the Log::Log4perl distribution and has no open bugs (at least
not on the Catalyst module).

Thanks.

Search Discussions

  • David Schmidt at Jun 13, 2010 at 9:42 am

    On Sun, Jun 13, 2010 at 11:14 AM, Christiaan Kras wrote:
    Hi list,

    I'm currently looking at the available modules for implementing
    Log::Log4perl with my Catalyst app and would like to have some advice on it.

    I've found and tried Catalyst::Plugin::Log4perl::Simple but when using the
    module Catalyst warns about it using NEXT. So I'm wondering if it's smart to
    use it in its current state.

    When looking on I also found Log::Log4perl::Catalyst and
    Catalyst::Log::Log4perl. Where the former is part of the Log::Log4perl
    distribution. The latter still has some old issues open on which the author
    hasn't responded yet. So to me it seems abandoned. Other than that I don't
    really see much difference between both modules. I must note though that the
    former is very new and is only available since 2010/02/24

    From this I'd say using Log::Log4perl::Catalyst is the way to go: it's part
    of the Log::Log4perl distribution and has no open bugs (at least not on the
    Catalyst module).

    Thanks.

    --

    Christiaan Kras

    http://blog.htbaa.com
    http://www.brandweeruren.nl


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    Check whichever Plugin for log4perl Jay Shirley is recommending in
    this talk and go with it.

    http://www.presentingperl.org/opw2010/zen-maintenance/

    greetings
    david


    --
    David Schmidt | http://www.fm5.at
  • Christiaan Kras at Jun 13, 2010 at 10:55 am
    Thanks. He suggests Catalyst::Log::Log4perl.
    I guess I'll try both Catalyst::Log::Log4perl and
    Log::Log4perl::Catalyst then.

    Christiaan Kras

    http://blog.htbaa.com
    http://www.brandweeruren.nl


    Op 13-6-2010 11:42, David Schmidt schreef:
    On Sun, Jun 13, 2010 at 11:14 AM, Christiaan Kraswrote:
    Hi list,

    I'm currently looking at the available modules for implementing
    Log::Log4perl with my Catalyst app and would like to have some advice on it.

    I've found and tried Catalyst::Plugin::Log4perl::Simple but when using the
    module Catalyst warns about it using NEXT. So I'm wondering if it's smart to
    use it in its current state.

    When looking on I also found Log::Log4perl::Catalyst and
    Catalyst::Log::Log4perl. Where the former is part of the Log::Log4perl
    distribution. The latter still has some old issues open on which the author
    hasn't responded yet. So to me it seems abandoned. Other than that I don't
    really see much difference between both modules. I must note though that the
    former is very new and is only available since 2010/02/24

    From this I'd say using Log::Log4perl::Catalyst is the way to go: it's part
    of the Log::Log4perl distribution and has no open bugs (at least not on the
    Catalyst module).

    Thanks.

    --

    Christiaan Kras

    http://blog.htbaa.com
    http://www.brandweeruren.nl


    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
    Check whichever Plugin for log4perl Jay Shirley is recommending in
    this talk and go with it.

    http://www.presentingperl.org/opw2010/zen-maintenance/

    greetings
    david

  • Jay Shirley at Jun 13, 2010 at 5:53 pm

    On Jun 13, 2010, at 3:56 AM, Christiaan Kras wrote:

    Thanks. He suggests Catalyst::Log::Log4perl.
    I guess I'll try both Catalyst::Log::Log4perl and Log::Log4perl::Catalyst then.

    Christiaan Kras
    The cspec issues can (in most cases) be safely ignored.

    If you do encounter any issues with using it, please let me know what they are and I'll work towards getting them fixed up.

    It does, however, look like the autoflush issue needs to be resolved. I'll see if I can get the tuits to chase that down next week.

    Thanks,
    -Jay
  • Tomas Doran at Jun 14, 2010 at 11:07 pm
    On 13 Jun 2010, at 18:53, J. Shirley wrote:
    On Jun 13, 2010, at 3:56 AM, Christiaan Kras wrote:

    Thanks. He suggests Catalyst::Log::Log4perl.
    I guess I'll try both Catalyst::Log::Log4perl and
    Log::Log4perl::Catalyst then.

    Christiaan Kras
    The cspec issues can (in most cases) be safely ignored.
    There are patches to fix them (by removing most of the code) pending,
    but I haven't found the tuits to finish it yet..
    If you do encounter any issues with using it, please let me know
    what they are and I'll work towards getting them fixed up. Ditto.
    It does, however, look like the autoflush issue needs to be
    resolved. I'll see if I can get the tuits to chase that down next
    week.
    There are pending patches for a load of things - I haven't had the
    time to maintain it that it deserves recently, so if anyone else is
    prepared to help work on it I'd be entirely glad.

    I can say that it does work for me in production, and I do have some
    plans to get back to it (as I need to do some work on logging in
    various of my apps some time in the next couple of months)...

    Cheers
    t0m
  • Christiaan Kras at Jun 13, 2010 at 9:08 pm
    So far I haven't run into any issues. My app isn't production ready either so it doesn't receive much traffic either.

    -origineel bericht-
    Onderwerp: Re: [Catalyst] Log::Log4perl::Catalyst or Catalyst::Log::Log4perl ?
    Van: "J. Shirley" <jshirley@gmail.com>
    Datum: 13-06-2010 19:57

    On Jun 13, 2010, at 3:56 AM, Christiaan Kras wrote:

    Thanks. He suggests Catalyst::Log::Log4perl.
    I guess I'll try both Catalyst::Log::Log4perl and Log::Log4perl::Catalyst then.

    Christiaan Kras
    The cspec issues can (in most cases) be safely ignored.

    If you do encounter any issues with using it, please let me know what they are and I'll work towards getting them fixed up.

    It does, however, look like the autoflush issue needs to be resolved. I'll see if I can get the tuits to chase that down next week.

    Thanks,
    -Jay
    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/
  • Peter Corlett at Jun 14, 2010 at 9:02 am
    On Sun, Jun 13, 2010 at 11:14:44AM +0200, Christiaan Kras wrote:
    [...]
    I've found and tried Catalyst::Plugin::Log4perl::Simple but when using the
    module Catalyst warns about it using NEXT. So I'm wondering if it's smart
    to use it in its current state.
    That's one of my modules, a very crude hack to scratch one of my itches.
    Although it gives a warning, it does work. It didn't give a warning when I
    wrote it, but CPAN has marched on.

    Since the warning's annoying me, I'll probably fix it over the next week or
    so.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJun 13, '10 at 9:14a
activeJun 14, '10 at 11:07p
posts7
users5
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase