From: caremoli Date: Tue, 1 Jun 2010 07:39:57 +0000 (+0000) Subject: CCAR: add the Container Manager pid to the name of container log file to separate X-Git-Tag: V5_1_4rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7a84a6d487184fdce0e869502d019ae431315ed;p=modules%2Fkernel.git CCAR: add the Container Manager pid to the name of container log file to separate log files from different sessions with same user on same resource and same container name --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 8245fe50b..497e0c1ed 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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