Temp logs to get more info for sql exception.