Skip to content

Commit 13db642

Browse files
committed
fix(cyrpto): Log database upgrades using the debug log level
1 parent f2c344b commit 13db642

File tree

1 file changed

+2
-6
lines changed
  • crates/matrix-sdk-crypto/src/store

1 file changed

+2
-6
lines changed

crates/matrix-sdk-crypto/src/store/sled.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use sled::{
3333
transaction::{ConflictableTransactionError, TransactionError},
3434
Config, Db, IVec, Transactional, Tree,
3535
};
36-
use tracing::trace;
36+
use tracing::debug;
3737
use uuid::Uuid;
3838

3939
use super::{
@@ -261,11 +261,7 @@ impl SledStore {
261261
.unwrap_or_default();
262262

263263
if version != DATABASE_VERSION {
264-
trace!(
265-
version = version,
266-
new_version = DATABASE_VERSION,
267-
"Upgrading the Sled crypto store"
268-
);
264+
debug!(version, new_version = DATABASE_VERSION, "Upgrading the Sled crypto store");
269265
}
270266

271267
if version == 0 {

0 commit comments

Comments
 (0)