When I use the default layout with NLog it only prints the name of the exception. I\'ve been told that the log4jxmlevent layout doesn\'t prints nothing about the exception.
As of NLog 4.5 you can now use:
logger.Error(exception, message);
and layout as follows:
"${longdate} ${level} ${message} ${exception:format=@}"
The @ means serialize all Exception-properties into Json-format
@