]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: add the Container Manager pid to the name of container log file to separate
authorcaremoli <caremoli>
Tue, 1 Jun 2010 07:39:57 +0000 (07:39 +0000)
committercaremoli <caremoli>
Tue, 1 Jun 2010 07:39:57 +0000 (07:39 +0000)
log files from different sessions with same user on same resource and same container name

src/Container/SALOME_ContainerManager.cxx

index 8245fe50b3d3ca220792cfc77be36081367b9ac5..497e0c1ed9e4ff278b6085491656488bc3381bd4 100644 (file)
@@ -420,11 +420,9 @@ SALOME_ContainerManager::GiveContainer(const Engines::ContainerParameters& param
   logFilename += "/";
 #endif
   logFilename += _NS->ContainerName(params)+"_"+ resource_selected +"_"+getenv( "USER" ) ;
-#ifdef WNT
   std::ostringstream tmp;
   tmp << "_" << getpid();
   logFilename += tmp.str();
-#endif
   logFilename += ".log" ;
   command += " > " + logFilename + " 2>&1";
 #ifdef WNT