Skip to content
Snippets Groups Projects
Commit 7f962c04 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Lower status deserialization message levels.

Refers to #3
parent 92e10c87
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ namespace ATXCommon.Serializables
}
public static ServiceStatus Deserialize(string file, ServiceConfig config) {
Log.Debug("Trying to deserialize status XML file [{0}].", file);
Log.Trace("Trying to deserialize status XML file [{0}].", file);
ServiceStatus status;
var xs = new XmlSerializer(typeof(ServiceStatus));
......@@ -167,7 +167,7 @@ namespace ATXCommon.Serializables
var reader = File.OpenText(file);
status = (ServiceStatus) xs.Deserialize(reader);
reader.Close();
Log.Debug("Finished deserializing service status XML file.");
Log.Trace("Finished deserializing service status XML file.");
}
catch (Exception) {
// if reading the status XML fails, we return an empty (new) one
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment