mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Add hostname to JSON log
This commit is contained in:
parent
aab47091b1
commit
8d3b2cacc4
@ -1601,6 +1601,7 @@ std::string Transaction::toJSON(int parts) {
|
|||||||
m_variableRequestMethod.evaluate()));
|
m_variableRequestMethod.evaluate()));
|
||||||
|
|
||||||
LOGFY_ADD("http_version", m_httpVersion);
|
LOGFY_ADD("http_version", m_httpVersion);
|
||||||
|
LOGFY_ADD("hostname", m_requestHostName);
|
||||||
LOGFY_ADD("uri", this->m_uri);
|
LOGFY_ADD("uri", this->m_uri);
|
||||||
|
|
||||||
if (parts & audit_log::AuditLog::CAuditLogPart) {
|
if (parts & audit_log::AuditLog::CAuditLogPart) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user