Re: log4perl vs Log::Dispatch::Config, Re: In the spirit of smaller groups/pieces . . .
[email protected] (Tatsuhiko Miyagawa) Tue, 24 Sep 2002 10:00:14 +0900
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <[email protected]> |
# Added Cc: to Michael Schilli, the author of Log4perl # in case he hasn't subscribed to this list ... # Michal, see http://nntp.x.perl.org/group/perl.p5ee for the archives At Mon, 23 Sep 2002 20:47:33 -0400, Stephen Adkins wrote: > >Apparently no. Log::Dispatch is a definitive logging module for > >Perl. L::D::::Config buiilds configuration API and singleton-ness on > >it. Log4perl gives the same, but it builds more complete replica (API > >/ config file format compatiblity) of that of Java Log4J API. > > So as the author of Log::Dispatch::Config, do you heartily endorse > Log::Log4perl as the full-featured logging package for perl? > > Or are there cases where developers would choose one or the other? > > What is your opinion about which module/distribution should be a > part of a P5EE specification? Difficult question ... ;) well, as Michael noted, my L::D::Config works just nicely in 95% of the cases, but there might be cases where you want more flexible configuration on threshold/package, which is supported by Log4perl. (But you should consider the fact that I've never had any experience with it ;) So I don't mind we adopt Log::Log4perl as a standard of p5ee logging module. API/format compatiblity is not necessary in many cases, but it is a Good Thing [tm] from the viewpoint of promotion. -- Tatsuhiko Miyagawa <[email protected]>