make max. number of logged queries configurable
whitespace fixes only