Skip to content

Commit

Permalink
add more diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
sveseli committed Mar 28, 2024
1 parent 3223142 commit 278e24a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/responseHandlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ void ServerChannelFindRequesterImpl::send(ByteBuffer* buffer, TransportSendContr
{
char ipAddrStr[24];
ipAddrToDottedIP(&_sendTo.ia, ipAddrStr, sizeof(ipAddrStr));
LOG(logLevelDebug, "Search response will be sent to %s", ipAddrStr);
LOG(logLevelDebug, "Search response will be sent to %s, was found: %d", ipAddrStr, int(_wasFound));
control->startMessage(CMD_SEARCH_RESPONSE, 12+4+16+2);

Lock guard(_mutex);
Expand Down
2 changes: 1 addition & 1 deletion testApp/remote/channelAccessIFTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,7 @@ PVStructure::shared_pointer ChannelAccessIFTest::createArrayPvRequest() {
MAIN(testChannelAccess)
{
try{
SET_LOG_LEVEL(logLevelError);
SET_LOG_LEVEL(logLevelDebug);
ChannelAccessIFTest caRemoteTest;
return caRemoteTest.runAllTest();
}catch(std::exception& e){
Expand Down
3 changes: 2 additions & 1 deletion testApp/remote/udpChannelDiscoveryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ int runAllTests() {
testDiag("Channel discovery type: UDP search");

EPVA::Configuration::shared_pointer baseConfig(ConfigurationBuilder()
//.add("EPICS_PVA_DEBUG", "3")
.add("EPICS_PVAS_INTF_ADDR_LIST", "127.0.0.1")
.add("EPICS_PVA_ADDR_LIST", "127.0.0.1")
.add("EPICS_PVA_AUTO_ADDR_LIST", "0")
.add("EPICS_PVA_SERVER_PORT", "0")
.add("EPICS_PVA_BROADCAST_PORT", "0")
.push_map()
Expand Down

0 comments on commit 278e24a

Please sign in to comment.