new logging function
geolocation feature