From 4efad204276f9f9e1896f25c5c7c4d7aa06b4260 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 18 May 2025 12:57:59 -0500 Subject: tweak logs --- .../Core/Data/Migrations/Z04012025_TransferStateMigration.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3