Log stack traces.