We use Log4j (and Commons Logging) to log our error messages. Now we want to set up an additional log appender that outputs fatal errors to syslog, but without the exception
As of Log4j2, you can just add "%ex{0}" to your log pattern (assuming you're using PatternLayout)
"%ex{0}"
https://logging.apache.org/log4j/log4j-2.1/manual/layouts.html