diff --git a/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/CleverTapAPI.java b/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/CleverTapAPI.java index 898e4b2d8..b1ce854f0 100644 --- a/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/CleverTapAPI.java +++ b/clevertap-android-sdk/src/main/java/com/clevertap/android/sdk/CleverTapAPI.java @@ -6842,7 +6842,7 @@ private Future _setLocation(Location location) { if (location == null) return null; locationFromUser = location; - Logger.v("Location updated (" + location.getLatitude() + ", " + location.getLongitude() + ")"); + getConfigLogger().verbose(getAccountId(),"Location updated (" + location.getLatitude() + ", " + location.getLongitude() + ")"); // only queue the location ping if we are in the foreground if (!isLocationForGeofence()&&!isAppForeground()) return null; @@ -6855,11 +6855,11 @@ private Future _setLocation(Location location) { if (isLocationForGeofence() && now > (lastLocationPingTimeForGeofence + Constants.LOCATION_PING_INTERVAL_IN_SECONDS)) { future = queueEvent(context, new JSONObject(), Constants.PING_EVENT); lastLocationPingTimeForGeofence = now; - Logger.v("Queuing location ping event for geofence location (" + location.getLatitude() + ", " + location.getLongitude() + ")"); + getConfigLogger().verbose(getAccountId(),"Queuing location ping event for geofence location (" + location.getLatitude() + ", " + location.getLongitude() + ")"); } else if (!isLocationForGeofence() && now > (lastLocationPingTime + Constants.LOCATION_PING_INTERVAL_IN_SECONDS)) { future = queueEvent(context, new JSONObject(), Constants.PING_EVENT); lastLocationPingTime = now; - Logger.v("Queuing location ping event for location (" + location.getLatitude() + ", " + location.getLongitude() + ")"); + getConfigLogger().verbose(getAccountId(),"Queuing location ping event for location (" + location.getLatitude() + ", " + location.getLongitude() + ")"); } return future;