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?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.