From: Guevara, A. <Ale...@uh...> - 2003-05-08 16:27:06
|
Yes, totally. You can log your messages to a jdbc db, xml file, email, syslog ... Check then log4j docs, they have good samples. alex6 -----Original Message----- From: Alex Harvey [mailto:al...@9p...] Sent: May 8, 2003 11:53 AM To: Guevara, Alexei Subject: RE: logging task progress I don't know much about log4j so I have a question for you. Is it possible to obtain an appender that can log to JDBC? I know it is silly to log to a database but this would be a straightforward route for me to log my messages into a relational database in my test environment. Do you know anything about an appender for JDBC? Thanks, -Alex -----Original Message----- From: hl7...@li... [mailto:hl7...@li...]On Behalf Of Guevara, Alexei Sent: Wednesday, May 07, 2003 8:16 PM To: 'hl7...@li...' Subject: [HAPI-devel] logging task progress I've done some progress in replacing the hapi home grown logging mechanism with the jakarta-commons-logging framework. DONE: - All references to the hapi Log interface has been removed and the Log interface itselft, plus related classes have been marked as deprecated. - package ca.uhn.log has been added. - interface HapiLog, and classes HapiLogImpl and HapiLogFactory have been added to pachake ca.uhn.log. - the javadoc of the class HapiLog contains information about how to use the new logging framework. - exception classes have been changed to contain the cause of the exception. - in all places where the an error is being logged and an exception is being propagated have been modified to only propagate the exception-and the cause of it (to avoid having the same problem logged twince) NOTE that now hapi depends on the jakarta-commons-logging framework. TODO - look into replacing the class Status with well known patterns of jakarta-logging usage. Meaning that if want to output status information, the underlying logging framework must be used, by invoking the log.info( ... ) method. - create a std hapi log4j cinfiguration file. - ... This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Hl7api-devel mailing list Hl7...@li... https://lists.sourceforge.net/lists/listinfo/hl7api-devel --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/04/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/04/2003 This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization. |