private void StopService()
 {
     if (_logServiceHost != null)
     {
         _logServiceHost.Close();
         _logServiceHost = null;
     }
 }
 private void RunService(string url)
 {
     StopService();
     _logServiceHost = new LogServiceHost(_logCollection, url);
     _logServiceHost.Open();
 }