From 63439977901d54a01924ed76290931aeddbce66c Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 화, 05 7월 2022 18:16:55 +0900 Subject: [PATCH] Ongoing80 #4220 CF AOI Review 알람 추가 --- ReviewSystem/ReviewSystem/DisplayMessage.cpp | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ReviewSystem/ReviewSystem/DisplayMessage.cpp b/ReviewSystem/ReviewSystem/DisplayMessage.cpp index ccacf49..f8e08c6 100644 --- a/ReviewSystem/ReviewSystem/DisplayMessage.cpp +++ b/ReviewSystem/ReviewSystem/DisplayMessage.cpp @@ -33,7 +33,9 @@ void CDisplayMessage::SetPath(const CString& strPath) { m_strLogPath = strPath; - + CString m_GlobalLogPath; + m_strLogFile.Format(_T("D:\\DIT_LogData\\%04d%02d%02d"), m_strLogPath, m_TimeLogFile.GetYear(), m_TimeLogFile.GetMonth(), m_TimeLogFile.GetDay()); + CreateDirectory(m_strLogFile, NULL); CreateDirectory(m_strLogPath, NULL); MakeLogFile(); @@ -42,6 +44,10 @@ BOOL CDisplayMessage::MakeLogFile() { // Log 泥섎━ + CString m_GlobalLogPath; + m_strLogFile.Format(_T("D:\\DIT_LogData\\%04d%02d%02d"), m_TimeLogFile.GetYear(), m_TimeLogFile.GetMonth(), m_TimeLogFile.GetDay()); + CreateDirectory(m_strLogFile, NULL); + if (m_strLogPath.IsEmpty()) return FALSE; -- Gitblit v1.9.3