diff --git a/src/libnpsharp/RPC/Messages/RPCClientMessage.cs b/src/libnpsharp/RPC/Messages/RPCClientMessage.cs index 444adaa..b5c4e3b 100644 --- a/src/libnpsharp/RPC/Messages/RPCClientMessage.cs +++ b/src/libnpsharp/RPC/Messages/RPCClientMessage.cs @@ -19,7 +19,7 @@ namespace NPSharp.RPC.Messages #if DEBUG foreach (var prop in GetType().GetProperties()) { - Console.WriteLine("\t{0} = {1}", prop.Name, prop.GetValue(this)); + _log.DebugFormat("\tMessage property: {0} = {1}", prop.Name, prop.GetValue(this)); } #endif diff --git a/src/npmotd/Program.cs b/src/npmotd/Program.cs index daeb55c..65a725a 100644 --- a/src/npmotd/Program.cs +++ b/src/npmotd/Program.cs @@ -87,7 +87,7 @@ namespace NPSharp.CommandLine.MOTD try { - Console.WriteLine(Encoding.UTF8.GetString(np.GetPublisherFile("motd-english.txt").Result)); + log.InfoFormat("Server says: {0}", Encoding.UTF8.GetString(np.GetPublisherFile("motd-english.txt").Result)); } catch {