diff --git a/Code/Mantid/Framework/Kernel/src/FacilityInfo.cpp b/Code/Mantid/Framework/Kernel/src/FacilityInfo.cpp index 395ab2eace387f9cbeae9503b1265eec1db311d1..834d3a427473efbeb7d4dd4747e97aa410a980fe 100644 --- a/Code/Mantid/Framework/Kernel/src/FacilityInfo.cpp +++ b/Code/Mantid/Framework/Kernel/src/FacilityInfo.cpp @@ -151,6 +151,7 @@ const InstrumentInfo & FacilityInfo::Instrument(const std::string& iName)const if (iName.empty()) { iname = ConfigService::Instance().getString("default.instrument"); + g_log.debug() << "Blank instrument specified, using default instrument of " << iname << "." << std::endl; if (iname.empty()) { return m_instruments.front(); @@ -167,6 +168,7 @@ const InstrumentInfo & FacilityInfo::Instrument(const std::string& iName)const { if (it->name() == iname) { + g_log.debug() << "Instrument '" << iName << "' found as " << it->name() << " at " << name() << "." << std::endl; return *it; } } @@ -176,6 +178,7 @@ const InstrumentInfo & FacilityInfo::Instrument(const std::string& iName)const { if (it->shortName() == iname) { + g_log.debug() << "Instrument " << iName << " found as " << it->name() << " at " << name() << "." << std::endl; return *it; } }