SAMZA-275: Fix logging of exception stack traces at debug level.