Log model migration on INFO level

closes #33163

Signed-off-by: Christian Janker <christian.janker@gmx.at>
This commit is contained in:
Christian Janker 2024-09-21 21:18:25 +02:00 committed by Alexander Schwartz
parent 08ac55906f
commit 4cd64c822c

View file

@ -143,7 +143,7 @@ public class DefaultMigrationManager implements MigrationManager {
for (Migration m : migrations) {
if (databaseVersion == null || databaseVersion.lessThan(m.getVersion())) {
if (databaseVersion != null) {
logger.debugf("Migrating older model to %s", m.getVersion());
logger.infof("Migrating older model to %s", m.getVersion());
}
m.migrate(session);
}