Add getter for loggingQueries