Stack trace is added to the errors in log report when switch on.