From 82f52e6c312ad1877700cfad0a94ec2d94be4572 Mon Sep 17 00:00:00 2001
From: tzhang74 <tzhang74@illinois.edu>
Date: Sat, 15 Jun 2019 17:37:53 -0500
Subject: [PATCH] version 1.0 -- debug 9

---
 MyDaq/src/eloghandler.cc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/MyDaq/src/eloghandler.cc b/MyDaq/src/eloghandler.cc
index 89ebca0..448515f 100644
--- a/MyDaq/src/eloghandler.cc
+++ b/MyDaq/src/eloghandler.cc
@@ -14,17 +14,17 @@ using namespace std;
 
 int ElogHandler::BegrunLog ( const int run, std::string who, std::string filename)
 {
- 
+
   ostringstream command;
 
   command << "elog -h " <<  hostname <<  " -p " << port << " -l " << logbookname <<
     " -a \"Author=" <<  who << "\"" <<
-    " -a \"Subject=Run " << run << " started\" " << 
+    " -a \"Subject=Run " << run << " started\" " <<
     "\"Run " << run <<  " started with file " <<  filename << "\"" <<
     " >/dev/null 2<&1" << endl;
 
 
-  //  cout << command.str() << endl;
+    cout << command.str() << endl;
   system (command.str().c_str() );
   return 0;
 }
@@ -35,11 +35,11 @@ int ElogHandler::EndrunLog ( const int run, std::string who, const int events, c
 
   ostringstream command;
 
-  command << "elog -h " <<  hostname <<  " -p " << port 
-	  << " -l " << logbookname<<    " -a \"Author=" <<  who << "\"" 
-	  << " -a \"Subject=Run " << run << " ended\" " 
-	  << "\"Run " << run 
-	  << " ended with  " <<  events 
+  command << "elog -h " <<  hostname <<  " -p " << port
+	  << " -l " << logbookname<<    " -a \"Author=" <<  who << "\""
+	  << " -a \"Subject=Run " << run << " ended\" "
+	  << "\"Run " << run
+	  << " ended with  " <<  events
 	  << " events, size is " << volume << " MB"
 	  << " duration " << time(0) - starttime << " s\" "
 	  << " >/dev/null 2<&1" << endl;
-- 
GitLab