logging question - source of queries