add macro define to control logging
add rtree_query function