Query Logger

This document is used as logging the query and tracking them as well