Change log4j conf to print exceptions