Add hostname to JSON log

This commit is contained in:
Jakub Onderka 2025-05-28 16:24:09 +02:00
parent aab47091b1
commit 8d3b2cacc4

View File

@ -1601,6 +1601,7 @@ std::string Transaction::toJSON(int parts) {
m_variableRequestMethod.evaluate()));
LOGFY_ADD("http_version", m_httpVersion);
LOGFY_ADD("hostname", m_requestHostName);
LOGFY_ADD("uri", this->m_uri);
if (parts & audit_log::AuditLog::CAuditLogPart) {