Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Log4perl swallowing $@

by saintmike (Vicar)
on Dec 26, 2011 at 04:38 UTC ( #945084=note: print w/ replies, xml ) Need Help??


in reply to Log4perl swallowing $@

Sorry, I'm late to the party, but just for the record: Log4perl isn't resetting $@ here, it's a 3rd party appender from CPAN called Log::Dispatch::FileRotate. (You can easily verify this by replacing it by Log4perl's native file appender Log::Log4perl::Appender::File).

Might be a good idea to file a bug against it in order to have it localize its use of $@, although, as others have pointed out, it's a common mistake.


Comment on Re: Log4perl swallowing $@

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2014-12-26 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls