diff --git a/www/js/diary/addressNamesHelper.ts b/www/js/diary/addressNamesHelper.ts index de3db47ea..660ab25f4 100644 --- a/www/js/diary/addressNamesHelper.ts +++ b/www/js/diary/addressNamesHelper.ts @@ -111,8 +111,7 @@ async function fetchNominatimLocName(loc_geojson) { const coordsStr = loc_geojson.coordinates.toString(); const cachedResponse = localStorage.getItem(coordsStr); if (cachedResponse) { - logDebug(`fetchNominatimLocName: found cached response for ${coordsStr} = - ${cachedResponse}, skipping fetch`); + logDebug(`fetchNominatimLocName: found cached response for ${coordsStr}`); return; } logDebug('Getting location name for ' + JSON.stringify(coordsStr)); diff --git a/www/js/diary/timelineHelper.ts b/www/js/diary/timelineHelper.ts index d5c1e507b..c1bbf497c 100644 --- a/www/js/diary/timelineHelper.ts +++ b/www/js/diary/timelineHelper.ts @@ -442,10 +442,7 @@ function tripTransitions2UnprocessedTrip( startTs: tripStartTransition.data.ts, endTs: tripEndTransition.data.ts, }; - logDebug(`About to pull location data for range: - ${DateTime.fromSeconds(tripStartTransition.data.ts).toLocaleString(DateTime.DATETIME_MED)} - to - ${DateTime.fromSeconds(tripEndTransition.data.ts).toLocaleString(DateTime.DATETIME_MED)}`); + logDebug(`About to pull location data for range: ${tq.startTs} to ${tq.endTs}`); const getSensorData = window['cordova'].plugins.BEMUserCache.getSensorDataForInterval; return getUnifiedDataForInterval('background/filtered_location', tq, getSensorData).then( (locationList: Array>) => { @@ -605,9 +602,6 @@ export function readUnprocessedTrips( logDebug(`Found ${transitionList.length} transitions. yay!`); const tripsList = transitions2TripTransitions(transitionList); logDebug(`Mapped into ${tripsList.length} trips. yay!`); - tripsList.forEach((trip) => { - logDebug(JSON.stringify(trip, null, 2)); - }); const tripFillPromises = tripsList.map((t) => tripTransitions2UnprocessedTrip(t, appConfig), ); diff --git a/www/js/survey/multilabel/confirmHelper.ts b/www/js/survey/multilabel/confirmHelper.ts index 79695918a..c3a5417dd 100644 --- a/www/js/survey/multilabel/confirmHelper.ts +++ b/www/js/survey/multilabel/confirmHelper.ts @@ -96,12 +96,9 @@ export function labelInputDetailsForTrip(userInputForTrip, appConfigParam?) { Needs REPLACED_MODE`); return getLabelInputDetails(); } else { - logDebug(`Found trip labeled with ${userInputForTrip?.['MODE']?.data?.label}, not labeled with mode of study = ${appConfig.intro.mode_studied}. - Doesn't need REPLACED_MODE`); return baseLabelInputDetails; } } else { - logDebug('No mode of study, so there is no REPLACED_MODE label option'); return getLabelInputDetails(); } }