Re: Hide message in throwable

2019-05-16 Thread Matt Sicker
Instead of extending the plugin classes, you can create your own plugins. PatternConverters are relatively trivial plugins, so I wouldn't worry too much about code duplication. I could be missing a feature, though. On Thu, 16 May 2019 at 09:32, Gaurav wrote: > > Hi, > > I want to hide the messag

Hide message in throwable

2019-05-16 Thread Gaurav
Hi, I want to hide the message in the throwable. What I've tried - 1. Create a custom layout by extending AbstractStringLayout. 2. Create a pattern parser. 3. Create a pattern converter by extending ThrowablePatternConverter. Is there a simpler way to do this? In log4j1.2, it was simple to jus