logquery (regular)