]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/SGE/JobInfo_SGE.cxx
Salome HOME
Add very simple log system
[tools/libbatch.git] / src / SGE / JobInfo_SGE.cxx
index 2f14ac43c550ab02f60dd0a314c35f8f6ecad07a..db8e1a13388cd466018cef5b994f5a5b5c754591 100644 (file)
@@ -39,6 +39,7 @@
 #include "RunTimeException.hxx"
 #include "APIInternalFailureException.hxx"
 #include "JobInfo_SGE.hxx"
+#include "Log.hxx"
 
 using namespace std;
 
@@ -88,7 +89,7 @@ namespace Batch {
       } else if (status == "h") {  // Hold
         _param[STATE] = PAUSED;
       } else {
-        cerr << "Unknown job state code: " << status << endl;
+        LOG("Unknown job state code: " << status);
       }
     } else {
       // TODO: Check this. I suppose that unknown jobs are finished ones.