diff --git a/include/dynamic-graph/logger.h b/include/dynamic-graph/logger.h index 31bd8dd0eb6498e6f4d90dc9df5a4f3887de24ca..58e381b6ccabf6b6df6c423e8b8f6b4066e0cf78 100644 --- a/include/dynamic-graph/logger.h +++ b/include/dynamic-graph/logger.h @@ -166,7 +166,6 @@ namespace dynamicgraph { LoggerVerbosity getVerbosity(); protected: - std::ofstream m_output_fstream; /// Output File Stream LoggerVerbosity m_lv; /// verbosity of the logger double m_timeSample; /// specify the period of call of the countdown method double m_streamPrintPeriod; /// specify the time period of the stream prints diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index cd37b190ec86e31fcd7f9a0fff78bbd0d62794f1..3bb3542f79c2f691e1bd53cdcabb5958008b0331 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -32,14 +32,10 @@ namespace dynamicgraph m_printCountdown(0.0) { m_lv = VERBOSITY_ERROR; - // m_output_fstream.open("/tmp/dg-LOGS.txt",std::ofstream::out|std::ofstream::app); - //dgADD_OSTREAM_TO_RTLOG(m_output_fstream); } Logger::~Logger() { - //m_output_fstream.close(); - } void Logger::setVerbosity(LoggerVerbosity lv) @@ -89,9 +85,7 @@ namespace dynamicgraph else // otherwise reset counter and print it->second = m_streamPrintPeriod; } - // std::cout << msg.c_str() << std::endl; dgRTLOG() << msg.c_str() << "\n"; - //m_output_fstream.flush(); } bool Logger::setTimeSample(double t)