Log stack trace.