mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Merge pull request #3393 from JakubOnderka/json-log-hostname
Add hostname to JSON log
This commit is contained in:
commit
1362479d34
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user