add stack trace to log.