Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log level of logs around pending bootstrap object from trace to debug #6832

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/realm/sync/noinst/pending_bootstrap_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ void PendingBootstrapStore::add_batch(int64_t query_version, util::Optional<Sync
}

if (did_create) {
m_logger.trace("Created new pending bootstrap object for query version %1", query_version);
m_logger.debug("Created new pending bootstrap object for query version %1", query_version);
}
else {
m_logger.trace("Added batch to pending bootstrap object for query version %1", query_version);
m_logger.debug("Added batch to pending bootstrap object for query version %1", query_version);
}
if (progress) {
m_logger.trace("Finalized pending bootstrap object for query version %1", query_version);
m_logger.debug("Finalized pending bootstrap object for query version %1", query_version);
}
m_has_pending = true;
}
Expand Down Expand Up @@ -311,12 +311,12 @@ void PendingBootstrapStore::pop_front_pending(const TransactionRef& tr, size_t c
}

if (changeset_list.is_empty()) {
m_logger.trace("Removing pending bootstrap obj for query version %1",
m_logger.debug("Removing pending bootstrap obj for query version %1",
bootstrap_obj.get<int64_t>(m_query_version));
bootstrap_obj.remove();
}
else {
m_logger.trace("Removing pending bootstrap batch for query version %1. %2 changeset remaining",
m_logger.debug("Removing pending bootstrap batch for query version %1. %2 changeset remaining",
bootstrap_obj.get<int64_t>(m_query_version), changeset_list.size());
}

Expand Down