Fixed log messages and migration.