Skip to content

Commit

Permalink
Merge pull request #1896 from tursodatabase/replicator-logging
Browse files Browse the repository at this point in the history
libsql-replication: Switch retry message to warn log level
  • Loading branch information
penberg authored Jan 2, 2025
2 parents e5ab7c4 + 923cebf commit 5beaf27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsql-replication/src/replicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ where
}
Err(Error::Client(e)) if !error_printed => {
if e.downcast_ref::<uuid::Error>().is_some() {
tracing::error!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
tracing::warn!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
} else {
tracing::error!("error connecting to primary. retrying. error: {e}");
tracing::warn!("error connecting to primary. retrying. error: {e}");
}

error_printed = true;
Expand Down

0 comments on commit 5beaf27

Please sign in to comment.