Prevent SclLog from writing logs into a text file 26/149426/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 12 Sep 2017 08:16:31 +0000 (17:16 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 12 Sep 2017 08:16:31 +0000 (17:16 +0900)
Change-Id: I1e54df48030a386331f336c6d09c542ba1873a62

res/simple_debug.cpp

index cf35900..1e2b932 100644 (file)
@@ -43,10 +43,6 @@ SclLog::SclLog() : m_flog(NULL) {
     }
 
     snprintf(log_path, 128, "%s/scl.log", env);
-    m_flog = fopen(log_path, "w+");
-    if (m_flog == NULL) {
-        fprintf(stderr, "Could not open file: %s", log_path);
-    }
 }
 
 SclLog::~SclLog() {