     }
 
     func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
-        log("Got location update");
         let locationArray = locations as NSArray
         let locationObj = locationArray.lastObject as! CLLocation
 

        self.manager.desiredAccuracy = desiredAccuracy;
        self.manager.distanceFilter = distanceFilter;

        self.startUpdating();
    }

    func syncAfterXSeconds() {

        if(app.respondsToSelector("endBackgroundTask")) {
            let count = self._bgTaskList.count;

            for _ in 0 ..< count {
                let bgTaskId = self._bgTaskList[0] as Int;
                log("Ending Background Task  with ID \(bgTaskId)");
                app.endBackgroundTask(bgTaskId);
