I am using Wildfly 10.1 and I would really like to know what logging pattern elements i could use.
I found this documentation here: https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html referenced by a Wildfly book.
But this can not be the whole truth, because there are more elements than mentioned there, for example the %s or %E Elements.
I also found this https://logging.apache.org/log4j/2.x/manual/layouts.html but that cant be the truth eiter, because the mentioned %throwable{short.className} does not work.
Also the Wildfly Documentation at https://docs.jboss.org/author/display/WFLY10/Handlers#Handlers-formatter does not say a word about what pattern elements are available.
I try to create a logging pattern which will generate only one line per exception (no stack trace) but still contain the Message of the exception and the Class, Method and Line Number.