diff --git a/common/log/StringLogger.cpp b/common/log/StringLogger.cpp index 69ea5c1fad1d2b6517b0a284f3c438980eb91e8b..d7d46ded71d0bf5be248f9745419db5212ac9cbb 100644 --- a/common/log/StringLogger.cpp +++ b/common/log/StringLogger.cpp @@ -53,8 +53,7 @@ void StringLogger::reducedSyslog(const std::string & msg) { m_log << msg.substr(0, m_maxMsgLen) << std::endl; // Uncomment this to get the logs printed to stdout during unit tests. - // Temporarily enabled to better understand intermittent failures in continuous integration. - printf (msg.substr(0, m_maxMsgLen).c_str()); + // printf (msg.substr(0, m_maxMsgLen).c_str()); } } // namespace log diff --git a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp index 5b644643ec300e7fafd7ec2d1a4fe35a45fe49f3..3f4a0271f39f043ce29b417fcb4ebdd47aee07b3 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp +++ b/tapeserver/castor/tape/tapeserver/daemon/RecallReportPacker.hpp @@ -31,8 +31,6 @@ #include "scheduler/RetrieveMount.hpp" #include <memory> -// TODO: remove (RecallReportPacker::ReportDriveStatus allocation debug) -#include <iostream> namespace castor { namespace tape { @@ -164,16 +162,9 @@ private: cta::common::dataStructures::DriveStatus m_status; public: - ReportDriveStatus(cta::common::dataStructures::DriveStatus status): m_status(status) { - // TODO: remove when not needed (debug printf for intermittent memory leak in CI) - std::cout << ">>>> Allocated a RecallReportPacker::ReportDriveStatus:" << std::hex << this << std::endl; - } + ReportDriveStatus(cta::common::dataStructures::DriveStatus status): m_status(status) {} void execute(RecallReportPacker& reportPacker) override; bool goingToEnd() override; - // TODO: remove when not needed (debug printf for intermittent memory leak in CI) - virtual ~ReportDriveStatus() { - std::cout << "<<<< Deleted a RecallReportPacker::ReportDriveStatus:" << std::hex << this << std::endl; - } }; class ReportEndofSession : public Report {