Skip to content

Commit

Permalink
style(persistence): standardize logs based on aggregator rules
Browse files Browse the repository at this point in the history
* Capitalize first letter of functionnal logs
  • Loading branch information
Alenar committed Oct 15, 2024
1 parent 482b3ca commit 0dd19f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/mithril-persistence/src/database/version_checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl<'conn> DatabaseVersionChecker<'conn> {

/// Apply migrations
pub fn apply(&self) -> StdResult<()> {
debug!(&self.logger, "check database version",);
debug!(&self.logger, "Check database version",);
self.create_table_if_not_exists(&self.application_type)
.with_context(|| "Can not create table 'db_version' while applying migrations")?;
let db_version = self
Expand All @@ -80,7 +80,7 @@ impl<'conn> DatabaseVersionChecker<'conn> {
self.apply_migrations(&db_version, self.connection)?;
info!(
&self.logger,
"database upgraded to version '{}'", migration_version
"Database upgraded to version '{migration_version}'"
);
}
Ordering::Less => {
Expand Down

0 comments on commit 0dd19f9

Please sign in to comment.