tizen 2.4 release
[framework/web/wrt-commons.git] / modules / test / src / test_results_collector.cpp
@@ -272,7 +272,7 @@ class HtmlCollector :
     {
         m_fp.Reset(fopen(m_filename.c_str(), "w"));
         if (!m_fp) {
-            LogPedantic("Could not open file " << m_filename << " for writing");
+            WrtLogD("Could not open file %s for writing", m_filename.c_str());
             return false;
         }
         return true;
@@ -476,7 +476,7 @@ class XmlCollector :
     {
         m_fp.Reset(fopen(m_filename.c_str(), "w"));
         if (!m_fp) {
-            LogPedantic("Could not open file " << m_filename << " for writing");
+            WrtLogD("Could not open file %s for writing", m_filename.c_str());
             return false;
         }
         return true;
@@ -831,7 +831,7 @@ class TAPCollector :
     {
         m_output.open(m_filename.c_str(), std::ios_base::trunc);
         if (m_output.fail()) {
-            LogError("Can't open output file: " << m_filename);
+            WrtLogE("Can't open output file: %s", m_filename.c_str());
             return false;
         }
         return true;