diff --git a/src/Utilities/ProgressReportEngine.cpp b/src/Utilities/ProgressReportEngine.cpp
index 26c2629df..b62ad7028 100644
--- a/src/Utilities/ProgressReportEngine.cpp
+++ b/src/Utilities/ProgressReportEngine.cpp
@@ -24,16 +24,16 @@ void ReportEngine::echo(xmlNodePtr cur, bool recursive)
{
if(cur==NULL)
return;
- app_log()<< "name) << "\"";
+ app_debug()<< "name) << "\"";
xmlAttrPtr att = cur->properties;
char atext[1024];
while(att != NULL)
{
sprintf(atext," %s=\"%s\"",(const char*)(att->name),(const char*)(att->children->content));
- app_log() << atext;
+ app_debug() << atext;
att = att->next;
}
- app_log() << "/>\n";
+ app_debug() << "/>\n";
}
bool ReportEngine::DoOutput = false;
diff --git a/src/Utilities/ProgressReportEngine.h b/src/Utilities/ProgressReportEngine.h
index fc11e8ec9..c6eca5304 100644
--- a/src/Utilities/ProgressReportEngine.h
+++ b/src/Utilities/ProgressReportEngine.h
@@ -37,7 +37,7 @@ class ReportEngine
public:
inline ReportEngine(const std::string& cname, const std::string& fname, int atype=1):
- ReportType(atype),ClassName(cname), LogBuffer(infoLog), FuncName(fname)
+ ReportType(atype),ClassName(cname), LogBuffer(infoDebug), FuncName(fname)
{
if (DoOutput) {
LogBuffer << " " << ClassName << "::" << FuncName << "\n";
@@ -75,7 +75,7 @@ public:
inline void error(const std::string& msg, bool fatal=false)
{
- LogBuffer << ("ERROR: "+msg+"\n");
+ app_error() << ("ERROR: "+msg+"\n");
if(fatal)
APP_ABORT(ClassName+"::"+FuncName);
}
@@ -103,7 +103,7 @@ private:
*/
InfoStream& LogBuffer;
//disable copy constructor
- ReportEngine(const ReportEngine& a):LogBuffer(infoLog) {}
+ ReportEngine(const ReportEngine& a):LogBuffer(infoDebug) {}
static bool DoOutput;
@@ -114,7 +114,7 @@ template
inline
ReportEngine& operator<<(ReportEngine& o, const T& val)
{
- app_log()<< val;
+ app_debug() << val;
return o;
}
}