diff --git a/run_tcpdump.sh b/run_tcpdump.sh index 1648c7af4..1c23343fa 100755 --- a/run_tcpdump.sh +++ b/run_tcpdump.sh @@ -1 +1,2 @@ +# Make sure that eth0 interface exists and supernode is connecting to 28900 port. nohup sudo tcpdump -i eth0 'port 28900' -v &> ./logs/tcpdump28900.log & diff --git a/src/supernode/DAPI_RPC_Client.h b/src/supernode/DAPI_RPC_Client.h index f9a5d894d..290d919e9 100644 --- a/src/supernode/DAPI_RPC_Client.h +++ b/src/supernode/DAPI_RPC_Client.h @@ -66,7 +66,7 @@ namespace supernode { WasConnected = false; if(!invoke(rpc_command::DAPI_URI, rpc_command::DAPI_METHOD, req_param, timeout, std::addressof(pri))) { - LOG_PRINT_L4("Failed to invoke http request to " << call<<" URI: "<Process(ps, response_info.m_body) ) { LOG_PRINT_L4("Fail to process (ret false): "<Process(ps, response_info.m_body) ) { LOG_ERROR("Fail to process (ret false): "<Init(in)) { out.Result = ERROR_SALE_REQUEST_FAILED; - LOG_PRINT_L0("ERROR_SALE_REQUEST_FAILED"); + LOG_ERROR("ERROR_SALE_REQUEST_FAILED"); return false; } Add(data); diff --git a/src/supernode/PosSaleObject.cpp b/src/supernode/PosSaleObject.cpp index ad15516ac..b504d03ec 100644 --- a/src/supernode/PosSaleObject.cpp +++ b/src/supernode/PosSaleObject.cpp @@ -133,7 +133,7 @@ void supernode::PosSaleObject::ContinueInit() { inbr.SenderIP = m_DAPIServer->IP(); inbr.SenderPort = m_DAPIServer->Port(); if( !m_SubNetBroadcast.Send(dapi_call::PosProxySale, inbr, outv) || outv.empty() ) { - LOG_PRINT_L0("!Send dapi_call::PosProxySale"); + LOG_ERROR("!Send dapi_call::PosProxySale"); m_Status = NTransactionStatus::Fail; }