From c664f4f84283b44d7012caf3275b581f989880f6 Mon Sep 17 00:00:00 2001
From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch>
Date: Thu, 19 Jul 2018 12:27:50 +0200
Subject: [PATCH] Make suspend / resume messages level "TRACE"

This prevents at least the log file from being cluttered up completely
in "normal" operation. As stated in #50 the level for those messages
should be configurable to allow for easy adjustments without the need to
recompile the service itself.
---
 ATxCommon/Serializables/ServiceStatus.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ATxCommon/Serializables/ServiceStatus.cs b/ATxCommon/Serializables/ServiceStatus.cs
index 823f767..8e0ec88 100644
--- a/ATxCommon/Serializables/ServiceStatus.cs
+++ b/ATxCommon/Serializables/ServiceStatus.cs
@@ -317,9 +317,9 @@ namespace ATxCommon.Serializables
             Serialize();
 
             if (suspended) {
-                Log.Info("Service suspended. Reason(s): [{0}]", description);
+                Log.Trace("Service suspended. Reason(s): [{0}]", description);
             } else {
-                Log.Info("Service resuming operation ({0}).", description);
+                Log.Trace("Service resuming operation ({0}).", description);
             }
         }
         
-- 
GitLab