sigzero (email not shown publicly)
I am the proverbial "accidental" programmer. I have found that I really like Perl and programming so I am pursuing that route now.
I am the Debian systems administrator and junior Perl programmer for a company called Inspire.
Log4perl (Score:1)
I choose log4perl for two main reasons:
have your cake and eat it with log4perl (Score:2)
Log4perl lets you have your cake and eat it - you can use log4j configurations and use Log::Dispatch dispatchers.
There is a very good article at perl.com [perl.com]
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Both work fine (Score:1)
The main reason I didn't switch at the time was because I realized that Log4perl's config required too much knowledge of the app's internals (e.g. class layout, I think) for our admins to alter. It's probably more of an admin problem than a Log4perl problem. Since I needed to write a simpler config front-end for it anyway there seemed little reason for me to use one over the other. I stuck with w
Re:Both work fine (Score:1)
Actually, that's up for you to decide.
To enable logging in particular areas of an application, you can use the class structure. But that's just a feature and not required at all.
Instead, you can just enable/disable logging of the overall application or choose entirely different categories (i.e. make up your own hierarchy). The class