Add option to disable query log by default