introduced mysql query log for custom rest module