Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Log4Perl configuration problems

by ribasushi (Monk)
on Jun 13, 2008 at 11:58 UTC ( #691881=note: print w/ replies, xml ) Need Help??


in reply to Re: Log4Perl configuration problems
in thread Log4Perl configuration problems

That's both harsh and completely unfair. In fact, I think the Log::Log4perl documentation is both extensive and well written. Courtesy never hurts, and sometimes helps.
I am happy you feel this way about the massively incomplete documentation. Just to prove my point - tell me where in the docs is .Threshold being discussed? Certainly not in Log::Log4perl, nor in Log::Log4perl::Config (the only two places where a seasoned CPAN user would look). The only place I found this modifier (after your hint) was in the FAQ, and even then - it was in sections completely unrelated to my problem.

Thank you, nevertheless, for pointing me in the right direction. I stand by my words however.


Comment on Re^2: Log4Perl configuration problems
Re^3: Log4Perl configuration problems
by andreas1234567 (Vicar) on Jun 13, 2008 at 12:58 UTC
    The References section has a link to an article that complements the documentation well. It says (on page 3):
    Each appender can define a so-called appender threshold, a minimum level required for an oncoming message to be honored by the appender:
    $appender->threshold($ERROR);
    If the level doesn't meet the appender's threshold, then it is simply ignored by this appender.
    Was that what you were looking for?
    --
    No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
Re^3: Log4Perl configuration problems
by Anonymous Monk on Jun 14, 2008 at 07:48 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://691881]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-07-22 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (126 votes), past polls