Add information about query logging to documentation.