Query time added to debug logfile