Log tracebacks with newlines