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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...