log4j isn't really designed for that so I would suggest that you only
attempt that if there is no other option.

On 12/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi !

I use Apache Fop for xml to pdf transformations (I use it on Domino Server
6.5 with java 1.3).

I just installed Log4J (logging-log4j-1.2.14.zip), and works fine with
Fop. Now my problem is that Fop only logs some errors when transforming,
but I would like those errors to raise an exception so I could catch them
in the Java code I've written and react on them.

I tried to implement my own ErrorListener but it somehow does not work
(mind that I'm not a very experienced Java programmer).

Now I'm looking at the possibility to configure Log4J so it would do that
for me -> whenever method error would be called upon logger it would also
raise an exception and propagate it to my
Java code. Now is this possible at all ?

Thank you



--
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to