Adding logging to the tracking service