mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 20:17:46 +03:00
Support --enable-debug-logs=no option of configure script (#2)
* Support --enable-debug-logs=no option of configure script * Undo unintended white space changes * Undo more unintended white space changes * Address review comments - thanks Mirko * Address more review comments - thanks Mirko
This commit is contained in:
committed by
Felipe Zimmerle
parent
1d3c4c670d
commit
3a048ee2db
@@ -47,7 +47,9 @@ bool Https::init(std::string *error) {
|
||||
|
||||
bool Https::write(Transaction *transaction, int parts, std::string *error) {
|
||||
Utils::HttpsClient m_http_client;
|
||||
#ifndef NO_LOGS
|
||||
transaction->debug(7, "Sending logs to: " + m_audit->m_path1);
|
||||
#endif
|
||||
|
||||
std::string log = transaction->toJSON(parts);
|
||||
m_http_client.setRequestType("application/json");
|
||||
|
Reference in New Issue
Block a user