3

i was wondering whether it is possible or not to log the first line of a particular exception in my program (ex DataAccessException). According to Log4j formatting: Is it possible to truncate stacktraces? we can truncate exceptions. Is it possible to apply this restriction to only one exception, using log4j2?

Thanks in advance.

user1479847
  • 107
  • 11

0 Answers0