try {
//remove old logfile
- string log = "mothur.logFile";
- remove(log.c_str());
+// string log = "mothur.logFile";
+// remove(log.c_str());
time_t ltime = time(NULL); /* calendar time */
- string logFileName = "mothur." + toString(asctime( localtime(<ime) )) + ".logfile";
+ string logFileName = "mothur." + toString(ltime) + ".logfile";
//version
#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
delete mothur;
- rename(log.c_str(), logFileName.c_str()); //logfile with timestamp
+// rename(log.c_str(), logFileName.c_str()); //logfile with timestamp
return 0;
}