Please see 
http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout 
<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 <[email protected]> wrote:
> 
> 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

Reply via email to