diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-05-18 12:57:59 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-05-18 12:57:59 -0500 |
| commit | 4efad204276f9f9e1896f25c5c7c4d7aa06b4260 (patch) | |
| tree | 5be323f7925aaffbeee2cea20c2a69c86e2bb2b9 /src | |
| parent | 85ba3a74f27c753c08af970d4217ed9fc4a85b54 (diff) | |
| download | slskd-4efad204276f9f9e1896f25c5c7c4d7aa06b4260.tar.gz | |
tweak logs
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Data/Migrations/Z04012025_TransferStateMigration.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/Data/Migrations/Z04012025_TransferStateMigration.cs b/src/slskd/Core/Data/Migrations/Z04012025_TransferStateMigration.cs index bf034d6f..f7af80f5 100644 --- a/src/slskd/Core/Data/Migrations/Z04012025_TransferStateMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z04012025_TransferStateMigration.cs @@ -57,7 +57,7 @@ public class Z04012025_TransferStateMigration : IMigration { if (!NeedsToBeApplied()) { - Log.Information("Migration {Name} is not necessary or has already been applied", nameof(Z04012025_TransferStateMigration)); + Log.Information("> Migration {Name} is not necessary or has already been applied", nameof(Z04012025_TransferStateMigration)); return; } @@ -135,7 +135,7 @@ public class Z04012025_TransferStateMigration : IMigration using var createCommand = new SqliteCommand(create, connection, transaction); createCommand.ExecuteNonQuery(); - Log.Information("Schema changes applied, copying data..."); + Log.Information("> Schema changes applied, copying data..."); /* copy the existing data into the new table @@ -155,7 +155,7 @@ public class Z04012025_TransferStateMigration : IMigration using var copyCommand = new SqliteCommand(copy, connection, transaction); copyCommand.ExecuteNonQuery(); - Log.Information("Data copied, adjusting columns..."); + Log.Information("> Data copied, adjusting columns..."); /* we no longer need the old table, so drop it @@ -196,7 +196,7 @@ public class Z04012025_TransferStateMigration : IMigration Log.Debug("Committing transation..."); transaction.Commit(); Log.Debug("Transaction committed!"); - Log.Information("Done!"); + Log.Information("> Done!"); } catch (Exception) { |
