diff --git a/src/cpp/xmlparser/XMLProfileManager.cpp b/src/cpp/xmlparser/XMLProfileManager.cpp index 4e0e084b3cd..32aa59fb912 100644 --- a/src/cpp/xmlparser/XMLProfileManager.cpp +++ b/src/cpp/xmlparser/XMLProfileManager.cpp @@ -359,6 +359,7 @@ XMLP_ret XMLProfileManager::loadXMLFile( const std::string& filename, bool is_default) { + std::cout << "XMLProfileManager::loadXMLFile(" << filename << ")" << std::endl; if (filename.empty()) { EPROSIMA_LOG_ERROR(XMLPARSER, "Error loading XML file, filename empty"); @@ -368,6 +369,7 @@ XMLP_ret XMLProfileManager::loadXMLFile( xmlfile_map_iterator_t it = xml_files_.find(filename); if (it != xml_files_.end() && XMLP_ret::XML_OK == it->second) { + std::cout << filename << "already parsed" << std::endl; EPROSIMA_LOG_INFO(XMLPARSER, "XML file '" << filename << "' already parsed"); return XMLP_ret::XML_OK; } diff --git a/test/unittest/logging/mock/MockConsumer.h b/test/unittest/logging/mock/MockConsumer.h index d39f5038145..e7d01dd8fdc 100644 --- a/test/unittest/logging/mock/MockConsumer.h +++ b/test/unittest/logging/mock/MockConsumer.h @@ -43,12 +43,15 @@ class MockConsumer : public StdoutConsumer virtual void Consume( const Log::Entry& entry) { + std::cout << "Consuming " << entry.message << std::endl; if (category.empty() || entry.context.category == category) { std::unique_lock guard(mMutex); mEntriesConsumed.push_back(entry); + std::cout << "Notifying " << std::endl; cv_.notify_all(); } + std::cout << "StdoutConsumer::Consume " << std::endl; StdoutConsumer::Consume(entry); }