Makes clear to the user when audit log is empty due to missing JSON sup.

This commit is contained in:
Felipe Zimmerle 2017-10-10 10:25:22 -03:00
parent d3f979f1d2
commit 30364628a0
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,11 @@
v3.0.????? - ?
---------------------------
- Makes clear to the user whenever the audit log is empty due to missing
JSON support.
[Issue #1585 - @zimmerle]
- Makes auditlog more verbose on debug logs
[Issue: #1559 - @zimmerle]
- Enable support for AuditLogFormat
[Issue: #1583, #1493 and #1453 - @victorhora]
- Adds macro expansion for @rx operator

View File

@ -1701,7 +1701,7 @@ std::string Transaction::toJSON(int parts) {
return log;
#else
return std::string("");
return std::string("{\"error\":\"ModSecurity was not compiled with JSON support.\"}");
#endif
}