Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: How to turn off a Log4perl appender?

by mifflin (Curate)
on Jul 20, 2006 at 00:16 UTC ( [id://562480]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How to turn off a Log4perl appender?
in thread How to turn off a Log4perl appender?

yep , that works.
I had been trying the instance method remove_appender and was getting the error message...
C:\home\erickn>test.pl No such appender: Screen1 at :/Perl/site/lib/Log/Log4perl/Logger.pm l +ine 604.
Which lead me into the internals.
The class method eradicate_appender seems to work perfect.
I'm going to have to revisit the pod to see if I can figure out the difference between the two.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found