BACKLOG-5390

Allow to have the stack trace in debug level