add stack trace to logger