ENH: Remove some debugging

This commit is contained in:
Andy Cedilnik 2006-04-18 10:32:08 -04:00
parent 84f672155c
commit 88ebd1d362
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ int cmCPackGenericGenerator::InstallProject()
it != ignoreFilesRegexString.end(); it != ignoreFilesRegexString.end();
++it ) ++it )
{ {
cmCPackLogger(cmCPackLog::LOG_OUTPUT, cmCPackLogger(cmCPackLog::LOG_VERBOSE,
"Create ignore files regex for: " << it->c_str() << std::endl); "Create ignore files regex for: " << it->c_str() << std::endl);
ignoreFilesRegex.push_back(it->c_str()); ignoreFilesRegex.push_back(it->c_str());
} }
@ -247,7 +247,7 @@ int cmCPackGenericGenerator::InstallProject()
{ {
if ( regIt->find(inFile.c_str()) ) if ( regIt->find(inFile.c_str()) )
{ {
cmCPackLogger(cmCPackLog::LOG_OUTPUT, "Ignore file: " cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Ignore file: "
<< inFile.c_str() << std::endl); << inFile.c_str() << std::endl);
skip = true; skip = true;
} }

View File

@ -111,7 +111,7 @@ int cmCPackSTGZGenerator::GenerateHeader(std::ostream* os)
++ptr; ++ptr;
} }
counter ++; counter ++;
cmCPackLogger(cmCPackLog::LOG_ERROR, "Counter: " << counter << std::endl); cmCPackLogger(cmCPackLog::LOG_DEBUG, "Number of lines: " << counter << std::endl);
char buffer[1024]; char buffer[1024];
sprintf(buffer, "%d", counter); sprintf(buffer, "%d", counter);
cmSystemTools::ReplaceString(res, headerLengthTag, buffer); cmSystemTools::ReplaceString(res, headerLengthTag, buffer);