2

How can I make the ColoredConsoleAppender only show the message?

Despite leaving out %exception from conversionPattern both the exception-message and stacktrace is shown. If it cannot be done by configuration is there some method to override?

Community
  • 1
  • 1
Grastveit
  • 15,770
  • 3
  • 27
  • 36

1 Answers1

1

It turns out that I now know that it is possible and how to do it:

Log4Net - Logging out the Exception stacktrace only for certain files

Community
  • 1
  • 1
Stefan Egli
  • 17,398
  • 3
  • 54
  • 75