Client now logs query name.