mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Do not compile in JSON logging support if yajl is not found
This commit is contained in:
committed by
Felipe Zimmerle
parent
0c95a7a2cd
commit
5bc75ec871
@@ -519,8 +519,10 @@ struct directory_config {
|
||||
/* AUDITLOG_SERIAL (single file) or AUDITLOG_CONCURRENT (multiple files) */
|
||||
int auditlog_type;
|
||||
|
||||
#ifdef WITH_YAJL
|
||||
/* AUDITLOGFORMAT_NATIVE or AUDITLOGFORMAT_JSON */
|
||||
int auditlog_format;
|
||||
#endif
|
||||
|
||||
/* Mode for audit log directories and files */
|
||||
apr_fileperms_t auditlog_dirperms;
|
||||
|
Reference in New Issue
Block a user