Use the logger included (check the docs or the website) and set logging to fatal then ya will only log the fatal errors.... and no others...
greets Jochen Maes ICT Development KBC Securities (kbcsecurities.com) Havenlaan 12 Avenue du Port SIF 8683 B-1080 Brussels Belgium Tel : +32 2 429 96 81 GSM : +32 496 57 90 99 E-mail : [EMAIL PROTECTED] This message and any attachments hereto are for the named person's use only. It may contain confidential, proprietary or legally privileged information. You may not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. If you have received this e-mail message without being the intended recipient, please notify KBC Securities promptly and delete this e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of KBC Securities. KBC Securities reserves the right to monitor all e-mail communications through its networks and any messages addressed to, received or sent by KBC Securities or its employees are deemed to be professional in nature. The sender or recipient of any messages to or of KBC Securities agrees that those may be read by other employees of KBC Securities than the stated recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof. KBC Securities does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of, or reliance on, the information. Abhijat Upadhyay <abhijat.upadhyay@ To: "'FOP User'" <[EMAIL PROTECTED]> patni.com> cc: Subject: Avoiding the logging messages generated when PDF generation 27/06/2002 23:06 is happening Please respond to fop-user Hi Friends, I am using apache fop to generate pdf through web. Foll. is the method used for rendering pdf. /** * renders an FO inputsource into a PDF file which is rendered * to File. */ public void renderFO(InputSource foFile, FileOutputStream out) throws Exception { try { Driver driver = new Driver(foFile, out); driver.setRenderer(Driver.RENDER_PDF); driver.run(); } catch (Exception ex) { throw ex;//new ServletException(ex); } } In the log file I am getting so many warning and error messages. Can you please guide me how to remove these unwanted warning and error statements. ________________ Abhijat Upadhyay Software Engineer Patni Computer Systems Limited Electronic Sadan - 3, TTC Industrial Area, Mahape, Navi Mumbai - 400 701 Tel: 91 22 761 1090 / 1105 ext. 2221 Fax: 91 22 761 9602 http://www.patni.com World-Wide Partnerships. World-Class Solutions. _______________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail.