Logger is added only when debugbar's query collector is enabled