Add log4j's exception marker to log messages with exceptions