reduce noise

This commit is contained in:
Michael Davidsaver
2016-04-26 11:21:51 -04:00
parent 3f5acb4a9b
commit e88bef7fbc
3 changed files with 1 additions and 9 deletions

View File

@@ -99,11 +99,9 @@ GWServerChannelProvider::createChannel(std::string const & channelName,
}
if(!ret) {
std::cerr<<"GWServer refusing channel "<<channelName<<"\n";
pvd::Status S(pvd::Status::STATUSTYPE_ERROR, "Not found");
channelRequester->channelCreated(S, ret);
} else {
std::cerr<<"GWServer connecting channel "<<channelName<<" as "<<newName<<"\n";
channelRequester->channelCreated(pvd::Status::Ok, ret);
channelRequester->channelStateChange(ret, pva::Channel::CONNECTED);
}
@@ -117,17 +115,14 @@ void GWServerChannelProvider::configure(epics::pvData::PVStructure::shared_point
void GWServerChannelProvider::destroy()
{
std::cout<<"GWServer destory request\n";
}
GWServerChannelProvider::GWServerChannelProvider(const pva::ChannelProvider::shared_pointer& prov)
:cache(prov)
{
std::cout<<"GW Server ctor\n";
}
GWServerChannelProvider::~GWServerChannelProvider()
{
std::cout<<"GW Server dtor\n";
}
namespace {

View File

@@ -401,7 +401,7 @@ struct PVIFScalarNumeric : public PVIF
try{
pvmeta.nsecMask = epics::pvData::castUnsafe<unsigned>(std::string(&UT[5]));
}catch(std::exception& e){
std::cerr<<dbChannelRecord(ch)->name<<" : pdbUserTag nslsb requires a number not '"<<UT[5]<<"'\n";
std::cerr<<"Warning: "<<dbChannelRecord(ch)->name<<" : pdbUserTag nslsb requires a number not '"<<UT[5]<<"'\n";
}
}
if(pvmeta.nsecMask>0 && pvmeta.nsecMask<=32) {

View File

@@ -361,9 +361,6 @@ pvd::MonitorElementPtr TestPVMonitor::poll()
buffer.pop_front();
}
testDiag("TestPVMonitor::poll %p %p", this, ret.get());
if(ret)
std::cerr<<"# XXXZ "<<*ret->changedBitSet<<" "
<<*ret->overrunBitSet<<"\n";
return ret;
}