public void logOffline(@NonNull final Activity fromActivity, @NonNull final OfflineLogEntry logEntry) {
        if (hasLogOffline() && !getOfflineLog().log.isEmpty() && !getOfflineLog().log.equals(logEntry.log)) {
            SimpleDialog.of(fromActivity)
                    .setTitle(R.string.caches_overwrite_offline_log)
                    .setMessage(R.string.caches_overwrite_offline_log_question, getOfflineLog().logType.getL10n())
                    .confirm(() -> storeLogOffline(fromActivity, logEntry));
        } else {
            storeLogOffline(fromActivity, logEntry);
        }
    }
If the cache already has an offline log with log text and the new offline log would overwrite that prompt for confirmation
main/src/main/java/cgeo/geocaching/models/Geocache.java