Thanks for the response. I am trying to think of a way to still succeed.
What I want to do is to send all logging messages from anything related to FOP to their own file. In the logging.properties, I tried: org.apache.fop.FileHandler = java.util.logging.FileHandler org.apache.fop.FileHandler.pattern = logs/docgen.log org.apache.fop.FileHandler.limit = 5000 org.apache.fop.FileHandler.formatter = java.util.logging.SimpleFormatter but that does not work. I can say java.util.logging.FileHandler.pattern = logs/docgenAll.log and that will send all logging messages from any source to the file docgenALL - hwoever, I don't want all the messages - only ones froma class in the fop hierarchy. What should I do to accomplish this ? On Nov 13, 2007 3:04 PM, Andreas L Delmelle <[EMAIL PROTECTED]> wrote: > On Nov 13, 2007, at 18:29, Michael Tracey Zellmann wrote: > > Hi > > > I have developed an application that generates PDFs of > > documentation in an eclipse environment controlled by a variety of > > SWT widgets. > > > > My customer would like his users to know when FOP has encountered a > > problem, but give them a simple message. We are already trapping > > exceptions, so I am interested in the kinds of events where FOP may > > generate a WARNING or SEVERE logging message. Like - the text has > > exceeded the allowed width and is overwriting another area, or the > > bookmark ids are pointing to a null view-port, for instance. I know > > how to write a File Handler to route those message to a file. Is > > there a way I can capture an event that will tell us to pop a > > dialog to the user, and hopefully get part of the logging message ? > > I fear you have stumbled upon a well-known shortcoming of FOP 0.9x: > the error-reporting is not really what it should be. We all know it, > but haven't found the time so far to take steps towards implementing > something better, so exceptions and log messages are all there is to > catch FTM... :( > > > Sorry > > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >