Increase logging threshold and revert sql log condition