eliminate extra spaces in sql logs