-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Option to disable logging of log producer (2nd try) #1400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
DD MMM YYYY - 2.9.2 - To be released | ||
------------------------------------ | ||
|
||
* {dis|en}able-dechunk-logging: Option to disable logging of | ||
dechunking in audit log when log level < 9. | ||
[Issue #1068 - Marc Stern] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Issue number is not correct. |
||
* {dis|en}able-handler-logging: Option to disable logging of Apache handler | ||
in audit log | ||
[Issue #1070, #1381 - Marc Stern] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1174,6 +1174,9 @@ void sec_audit_logger_json(modsec_rec *msr) { | |
yajl_kv_bool(g, "response_body_dechunked", 1); | ||
} | ||
|
||
#ifdef LOG_NO_PRODUCER | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not more than the single producer entry ? |
||
if (msr->txcfg->debuglog_level >= 9) { | ||
#endif | ||
sec_auditlog_write_producer_header_json(msr, g); | ||
|
||
/* Server */ | ||
|
@@ -1323,6 +1326,9 @@ void sec_audit_logger_json(modsec_rec *msr) { | |
} | ||
} | ||
|
||
#ifdef LOG_NO_PRODUCER | ||
} | ||
#endif | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hey wait. This is only about JSON version? |
||
yajl_gen_map_close(g); // audit_data top-level key is finished | ||
|
||
/* AUDITLOG_PART_UPLOADS */ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is about the producer, not the dechunking :P