Skip to content

Commit 28f6f22

Browse files
committed
Match m_id JSON log with RuleMessage and v2 format
1 parent bc3d3f1 commit 28f6f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ std::string Transaction::toJSON(int parts) {
16141614
LOGFY_ADD_NUM("client_port", m_clientPort);
16151615
LOGFY_ADD("host_ip", m_serverIpAddress.c_str());
16161616
LOGFY_ADD_NUM("host_port", m_serverPort);
1617-
LOGFY_ADD("id", this->m_id.c_str());
1617+
LOGFY_ADD("unique_id", this->m_id.c_str());
16181618

16191619
/* request */
16201620
yajl_gen_string(g, reinterpret_cast<const unsigned char*>("request"),

0 commit comments

Comments
 (0)