Index: /trunk/FACT++/src/datalogger.cc
===================================================================
--- /trunk/FACT++/src/datalogger.cc	(revision 18465)
+++ /trunk/FACT++/src/datalogger.cc	(revision 18466)
@@ -205,5 +205,5 @@
     MessageImp fNightlyLogImp;
     /// ofstream for the Nightly report file
-    ofstream fNightlyReportFile;
+//    ofstream fNightlyReportFile;
     /// base path of files
     string fFilePath;
@@ -1383,8 +1383,8 @@
         fNightlyLogFile << endl;
         fNightlyLogFile.close();
-        fNightlyReportFile.close();
+//        fNightlyReportFile.close();
 
         Info("Closed: "+fFullNightlyLogFileName);
-        Info("Closed: "+fFullNightlyReportFileName);
+//        Info("Closed: "+fFullNightlyReportFileName);
 
         fFullNightlyLogFileName = CompileFileNameWithPath(fFilePath, "", "log");
@@ -1397,11 +1397,11 @@
         fNightlyLogFile << endl;
 
-        fFullNightlyReportFileName = CompileFileNameWithPath(fFilePath, "", "rep");
-        if (!OpenTextFile(fNightlyReportFile, fFullNightlyReportFileName))
-        {
-            GoToReady();
-            SetCurrentState(kSM_BadFolder, "Report");
-            return;
-        }
+//        fFullNightlyReportFileName = CompileFileNameWithPath(fFilePath, "", "rep");
+//        if (!OpenTextFile(fNightlyReportFile, fFullNightlyReportFileName))
+//        {
+//            GoToReady();
+//            SetCurrentState(kSM_BadFolder, "Report");
+//            return;
+//        }
     }
     //create the converter for that service
@@ -1593,6 +1593,6 @@
         Message("Nightly log-file:    "+fFullNightlyLogFileName);
 
-    if (fNightlyReportFile.is_open())
-        Message("Nightly report-file: "+fFullNightlyReportFileName);
+//    if (fNightlyReportFile.is_open())
+ //       Message("Nightly report-file: "+fFullNightlyReportFileName);
 
     const DimWriteStatistics::Stats statVar = fFilesStats.GetTotalSizeWritten();
@@ -1829,14 +1829,14 @@
         fNightlyLogFile << endl;
 
-    fFullNightlyReportFileName = CompileFileNameWithPath(fFilePath, "", "rep");
-    if (!OpenTextFile(fNightlyReportFile, fFullNightlyReportFileName))
-    {
-        fNightlyLogFile.close();
-        Info("Closed: "+fFullNightlyReportFileName);
-        return kSM_BadFolder;
-    }
+//    fFullNightlyReportFileName = CompileFileNameWithPath(fFilePath, "", "rep");
+//    if (!OpenTextFile(fNightlyReportFile, fFullNightlyReportFileName))
+//    {
+//        fNightlyLogFile.close();
+//        Info("Closed: "+fFullNightlyReportFileName);
+//        return kSM_BadFolder;
+//    }
 
     fFilesStats.FileOpened(fFullNightlyLogFileName);
-    fFilesStats.FileOpened(fFullNightlyReportFileName);
+//    fFilesStats.FileOpened(fFullNightlyReportFileName);
     //notify that a new file has been opened.
     const string baseFileName = CompileFileNameWithPath(fFilePath, "", "");
@@ -2161,9 +2161,9 @@
    const string baseFileName = CompileFileNameWithPath(fFilePath, "", "");
 
-    if (fNightlyReportFile.is_open())
-    {
-        fNightlyReportFile.close();
-        Info("Closed: "+baseFileName+".rep");
-    }
+//    if (fNightlyReportFile.is_open())
+//    {
+//        fNightlyReportFile.close();
+//        Info("Closed: "+baseFileName+".rep");
+//    }
 #ifdef HAVE_FITS
     for (SubscriptionsListType::iterator i = fServiceSubscriptions.begin(); i != fServiceSubscriptions.end(); i++)
