adding stacktrace log