logging exceptions. enabled stack-trace.