Suppressing exception trace to exception message only

2015-11-19 Thread Priya Ahuja
Hi, I am using log4jv2.3, I am looking for a way to suppress the exception trace and limit it to exception message only using log4j configuration? Thanks, Priya Ahuja

Re: Suppressing exception trace to exception message only

2015-11-19 Thread Ralph Goers
Please see http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout . You can specify %ex{short.message} Ralph > On Nov 19, 2015, at 6:01 PM, Priya Ahuja wrote: > > Hi, > > I am