X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/f22a863cf42971e874834d74a152b972f5dc6a03..87a34b062f417714377b8639854e49993819ae14:/writeout.cpp?ds=sidebyside diff --git a/writeout.cpp b/writeout.cpp index 67e90d3..19625ec 100644 --- a/writeout.cpp +++ b/writeout.cpp @@ -85,7 +85,7 @@ writeout::~writeout() if( (nextfile=getdatfile()) == "" ) sleep(1); else { - cerr << "collecting " << nextfile << endl; + logf << "collecting " << nextfile << endl; ifstream myfile( (fulldir + "/" + nextfile).c_str() ); while(true){ @@ -121,7 +121,7 @@ string writeout::getdatfile() struct dirent *dirp; if((dp = opendir(fulldir.c_str())) == NULL) { - cerr << "Error(" << errno << ") opening " << fulldir << endl; + logf << "Error(" << errno << ") opening " << fulldir << endl; return ""; }