Merge pull request #3393 from JakubOnderka/json-log-hostname

Add hostname to JSON log
This commit is contained in:
Ervin Hegedus 2025-05-28 22:55:57 +02:00 committed by GitHub
commit 1362479d34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) {