From 348e6011969325241b0d273a3afe698fbad9fd9a Mon Sep 17 00:00:00 2001 From: celeron533 Date: Tue, 15 May 2018 11:06:43 +0800 Subject: [PATCH] Add version in log file --- shadowsocks-csharp/Controller/Service/Listener.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-csharp/Controller/Service/Listener.cs b/shadowsocks-csharp/Controller/Service/Listener.cs index 1d70ea77..3da7a394 100644 --- a/shadowsocks-csharp/Controller/Service/Listener.cs +++ b/shadowsocks-csharp/Controller/Service/Listener.cs @@ -84,7 +84,7 @@ namespace Shadowsocks.Controller _tcpSocket.Listen(1024); // Start an asynchronous socket to listen for connections. - Logging.Info("Shadowsocks started"); + Logging.Info($"Shadowsocks started ({UpdateChecker.Version})"); Logging.Info(Encryption.EncryptorFactory.DumpRegisteredEncryptor()); _tcpSocket.BeginAccept(new AsyncCallback(AcceptCallback), _tcpSocket); UDPState udpState = new UDPState();