Skip to content

Commit 5beaf27

Browse files
authored
Merge pull request #1896 from tursodatabase/replicator-logging
libsql-replication: Switch retry message to warn log level
2 parents e5ab7c4 + 923cebf commit 5beaf27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsql-replication/src/replicator.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ where
224224
}
225225
Err(Error::Client(e)) if !error_printed => {
226226
if e.downcast_ref::<uuid::Error>().is_some() {
227-
tracing::error!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
227+
tracing::warn!("error connecting to primary. retrying. Verify that the libsql server version is `>=0.22` error: {e}");
228228
} else {
229-
tracing::error!("error connecting to primary. retrying. error: {e}");
229+
tracing::warn!("error connecting to primary. retrying. error: {e}");
230230
}
231231

232232
error_printed = true;

0 commit comments

Comments
 (0)