Don't log before query