프로젝트

일반

사용자정보

개정판 664ea2e1

ID664ea2e1cd505cbe9d76095ca8e3f8de5f2e9bd2
상위 9d5b4bc2
하위 5e1e22ff

김태성이(가) 4년 이상 전에 추가함

Markus에서 markusupdate를 변경하도록 수정

Change-Id: I4c2fe33f46732a9dc6b1fe683771c5acbcfd5d36

차이점 보기:

KCOM/App.xaml.cs
11 11
using System.Windows;
12 12
using System.Windows.Input;
13 13
using System.Windows.Resources;
14
using log4net;
15 14

  
16 15
namespace KCOM
17 16
{
......
159 158
                if (hostEntry == null)
160 159
                {
161 160
                    System.Diagnostics.Debug.WriteLine("(hostEntry == null");
162
                    App.FileLogger.Debug("hostEntry == null");
161
                    //App.FileLogger.Debug("hostEntry == null");
163 162
                    isExternal = true;
164 163
                }
165 164
                else if (!string.IsNullOrEmpty(localdomain) && !hostEntry.HostName.ToUpper().EndsWith(localdomain.ToUpper()))
166 165
                {
167 166
                    // 외부 사용자
168
                    App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
167
                     App.FileLogger.Debug(string.Format("You are external user because located out side of given domain({0})\nYour domain is {1}", localdomain, hostEntry.HostName));
169 168
                    isExternal = true;
170 169
                }
171 170
                #endregion
......
241 240
#else
242 241
                sBaseServiceURL = CommonLib.Common.GetConfigString("BaseClientAddress", "URL", "", isExternal);
243 242
#endif
244
                App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
243
                 App.FileLogger.Debug(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
245 244
                _EndPoint = new EndpointAddress(string.Format("{0}/ServiceDeepView.svc", sBaseServiceURL));
246 245

  
247 246
                await SplashScreenAsnyc();
......
251 250
            }
252 251
            catch (Exception ex)
253 252
            {
254
                Logger.sendReqLog("OnStartUp",ex.ToString() + " " + ex.InnerException?.ToString(),1);
253
                //Logger.sendReqLog("OnStartUp",ex.ToString() + " " + ex.InnerException?.ToString(),1);
255 254
            }
256 255
            finally
257 256
            {
......
261 260

  
262 261
        private void Current_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
263 262
        {
264

  
265 263
            Logger.sendReqLog("App Error ",e.Exception.ToString() + " " + e.Exception.InnerException?.ToString(), 1);
266 264
        }
267 265

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)