From cfcf2e8d9b7a25b0079e1f8119f33a718c3b0d4b Mon Sep 17 00:00:00 2001 From: Gabe Stocco Date: Mon, 3 Jun 2019 15:51:36 -0700 Subject: [PATCH] Fix overly verbose logging. --- Lib/Utils/DatabaseManager.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Lib/Utils/DatabaseManager.cs b/Lib/Utils/DatabaseManager.cs index 9533d9bea..3d15fdc9e 100644 --- a/Lib/Utils/DatabaseManager.cs +++ b/Lib/Utils/DatabaseManager.cs @@ -84,11 +84,8 @@ public static class DatabaseManager public static bool Setup() { - Log.Warning("Before Conn Check"); if (Connection == null) { - Log.Warning("After Conn Check"); - Connection = new SqliteConnection($"Filename=" + _SqliteFilename); Connection.Open(); @@ -200,11 +197,9 @@ public static bool Setup() cmd.ExecuteNonQuery(); } - Console.WriteLine("Set up database."); Commit(); return true; } - Log.Warning("Failed to set up database"); return false; } @@ -472,4 +467,4 @@ public static void DeleteRun(string runid) DatabaseManager.Commit(); } } -} \ No newline at end of file +}