개정판 af22332b
issue #745 markus client log 폴더 위치 변경
Change-Id: I0904bee8796ca2aa4836aa5af7f5d14478647fbe
KCOM/Logger.cs | ||
---|---|---|
19 | 19 |
{ |
20 | 20 |
// string Msg = (string)text + " / " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + "\r\n"; |
21 | 21 |
string Msg = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + "\t" + "REQ" + "\t" + name + "(" + (string)text + ")" + "\r\n"; |
22 |
string Dir = AppDomain.CurrentDomain.BaseDirectory + "Log";
|
|
22 |
string Dir = "C:\\ProgramData\\MARKUS\\" + "Log";
|
|
23 | 23 |
|
24 | 24 |
if (Directory.Exists(Dir) == false) |
25 | 25 |
{ |
... | ... | |
47 | 47 |
{ |
48 | 48 |
// string Msg = (string)text + " / " + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + "\r\n"; |
49 | 49 |
string Msg = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss") + "\t" + "RES" + "\t" + name + "(" + (string)text + ")" + "\r\n"; |
50 |
string Dir = AppDomain.CurrentDomain.BaseDirectory + "Log";
|
|
50 |
string Dir = "C:\\ProgramData\\MARKUS\\" + "Log";
|
|
51 | 51 |
|
52 | 52 |
if (Directory.Exists(Dir) == false) |
53 | 53 |
{ |
내보내기 Unified diff