SKALE-4950 add more logs

parent ee278e31
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<ISVSVN>3</ISVSVN> <ISVSVN>3</ISVSVN>
<StackMaxSize>0x200000</StackMaxSize> <StackMaxSize>0x200000</StackMaxSize>
<HeapMaxSize>0x200000</HeapMaxSize> <HeapMaxSize>0x200000</HeapMaxSize>
<TCSNum>20</TCSNum> <TCSNum>25</TCSNum>
<TCSMaxNum>20</TCSMaxNum> <TCSMaxNum>25</TCSMaxNum>
<TCSMinPool>20</TCSMinPool> <TCSMinPool>25</TCSMinPool>
<TCSPolicy>0</TCSPolicy> <TCSPolicy>1</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release --> <!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug> <DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect> <MiscSelect>0</MiscSelect>
......
...@@ -233,6 +233,7 @@ pair <string, shared_ptr<zmq::message_t>> ZMQServer::receiveMessage() { ...@@ -233,6 +233,7 @@ pair <string, shared_ptr<zmq::message_t>> ZMQServer::receiveMessage() {
} }
auto result = string((char *) reqMsg->data(), reqMsg->size()); auto result = string((char *) reqMsg->data(), reqMsg->size());
spdlog::debug("Received request via ZMQ server: {}", result);
return {result, identity}; return {result, identity};
} }
...@@ -255,6 +256,7 @@ void ZMQServer::sendToClient(Json::Value &_result, shared_ptr <zmq::message_t> & ...@@ -255,6 +256,7 @@ void ZMQServer::sendToClient(Json::Value &_result, shared_ptr <zmq::message_t> &
if (!s_send(*socket, replyStr)) { if (!s_send(*socket, replyStr)) {
exit(-16); exit(-16);
} }
spdlog::debug("Send response to client: {}", replyStr);
} catch (ExitRequestedException) { } catch (ExitRequestedException) {
throw; throw;
} catch (exception &e) { } catch (exception &e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment