log queries to file, don't print form data