[Swift-commit] cog r4043

swift at ci.uchicago.edu swift at ci.uchicago.edu
Wed Aug 27 17:25:07 CDT 2014


------------------------------------------------------------------------
r4043 | timgarmstrong | 2014-08-27 17:21:30 -0500 (Wed, 27 Aug 2014) | 1 line

Print debug messages at appropriate log level
------------------------------------------------------------------------
Index: modules/provider-coaster-c-client/src/JobSubmitCommand.cpp
===================================================================
--- modules/provider-coaster-c-client/src/JobSubmitCommand.cpp	(revision 4042)
+++ modules/provider-coaster-c-client/src/JobSubmitCommand.cpp	(working copy)
@@ -5,7 +5,6 @@
 
 using namespace Coaster;
 
-using std::cout;
 using std::map;
 using std::ostream;
 using std::string;
@@ -75,12 +74,12 @@
 	}
 
 	if (job->getJobManager().empty()) {
-	cout<< "getJobManager == NULL, setting to :  fork "<< endl;
+		LogDebug << "getJobManager == NULL, setting to :  fork "<< endl;
 		add(ss, "jm", "fork");
 	}
 	else {
-	const char *jm_string = (job->getJobManager()).c_str();
-	cout<< "getJobManager != !NULL, setting to : "<< job->getJobManager() << endl;
+		const char *jm_string = (job->getJobManager()).c_str();
+		LogDebug << "getJobManager != !NULL, setting to : "<< job->getJobManager() << endl;
 		add(ss, "jm", jm_string);
 	}
 	addOutData(Buffer::wrap(ss));



More information about the Swift-commit mailing list