Re: [log4perl-devel] Log4perl and catching unhandle exceptions but not using 'easy' mode

2009-05-21 Thread Mike Schilli
On Wed, 20 May 2009, Robert Jacobson wrote: Here's what I did: 1. Make a file trapper.pl. It's basically the same as the example, except the Log4perl init, which uses a config file (in this case, with a SIGHUP to re-read it): Looks ok at first glance, doesn't it produce the expected output?

Re: [log4perl-devel] Log4perl and catching unhandle exceptions but not using 'easy' mode

2009-05-21 Thread Richard Burton
Hi Mike All I am trying to do is to write unhandled exceptions to file, e.g. I am using a package off CPAN that explodes in a horrible way but as the exception is internal to the package I may not have the relevant error checking in place to catch the error? It is more of a general question so

Re: [log4perl-devel] Log4perl and catching unhandle exceptions but not using 'easy' mode

2009-05-21 Thread Mike Schilli
On Thu, 21 May 2009, Richard Burton wrote: It is more of a general question so that I can build it in to my code; I don't have a specific example? Maybe I misunderstood, but you said I have tried but failed, and from what I saw, you're doing everything correctly. -- Mike Mike Schilli