TEIID-2460 removing the stacktrace unless detail logging is enabled