Added stacktrace to logs.