]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/CCC/JobInfo_CCC.cxx
Salome HOME
Add very simple log system
[tools/libbatch.git] / src / CCC / JobInfo_CCC.cxx
index 947d36687385bd405cd00ba00f821f1ee2552ed0..510d9676e58beb80b51f41b593b1555f6d2b7164 100644 (file)
@@ -37,6 +37,7 @@
 #include "Parametre.hxx"
 #include "Environnement.hxx"
 #include "JobInfo_CCC.hxx"
+#include "Log.hxx"
 
 using namespace std;
 
@@ -81,7 +82,7 @@ namespace Batch {
     } else if (status == "ZOMBI") { // Zombie
       _param[STATE] = FAILED;
     } else {
-      cerr << "Unknown job state code: " << status << endl;
+      LOG("Unknown job state code: " << status);
     }
 
     if( status.find("RUN") != string::npos)