[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JDBCAppender not logging stacktrace

neiluku do-not-reply at jboss.com
Wed Mar 25 11:02:22 EDT 2009


I want to log only the error in to the db. if I have the code as 
logger.error("object is null " + e.getMessage() , e);

This log only the first part including e.getMessage() but not the Throwable.

 below is my jdbc appender setting. 

    
		
		<param name="ConversionPattern" value="INSERT INTO log(log_date, log_level, location, message) VALUES ( '%d{MM/dd/yyyy HH:mm:ss}', '%-5p', '%C;%L', '%m' )"/>		
	
 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220946#4220946

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220946



More information about the jboss-user mailing list