diff --git a/src/NzbDrone.Core/Datastore/Migration/Framework/MigrationController.cs b/src/NzbDrone.Core/Datastore/Migration/Framework/MigrationController.cs index dfdbf5217c..be5eb36d54 100644 --- a/src/NzbDrone.Core/Datastore/Migration/Framework/MigrationController.cs +++ b/src/NzbDrone.Core/Datastore/Migration/Framework/MigrationController.cs @@ -8,6 +8,7 @@ using Microsoft.Extensions.DependencyInjection; using NLog; using NLog.Extensions.Logging; +using NzbDrone.Common.Instrumentation; namespace NzbDrone.Core.Datastore.Migration.Framework { @@ -29,7 +30,7 @@ public void Migrate(string connectionString, MigrationContext migrationContext, { var sw = Stopwatch.StartNew(); - _logger.Info("*** Migrating {0} ***", connectionString); + _logger.Info("*** Migrating {0} ***", CleanseLogMessage.Cleanse(connectionString)); var db = databaseType == DatabaseType.SQLite ? "sqlite" : "postgres";