Multiple appenders in a single java program-URGENT
0 posts in topic
Flat View  Flat View

Posted By:   laxmi_vemaraju
Posted On:   Friday, September 17, 2004 02:46 AM

Hi, I have a requirement here.

We are using 2 appenders for log4j File,JDBC. For info, we are using File appender, for exceptions and audit we are using JDBC appender.

Lets suppose I have a java class , in which I have to log some info, and log exception information as well as audit information. So in this case I should use both File appender and JDBC appender.

My question is , can we use tow appenders in a single java file, and if yes, how.

Could some one please repond quickly.

Thanks in advance

About | Sitemap | Contact