mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds request IDs and URIs to the debug log
This commit is contained in:
@@ -41,6 +41,8 @@ class DebugLog {
|
||||
virtual ~DebugLog();
|
||||
|
||||
virtual void write(int level, const std::string &msg);
|
||||
virtual void write(int level, const std::string &id,
|
||||
const std::string &uri, const std::string &msg);
|
||||
bool isLogFileSet();
|
||||
bool isLogLevelSet();
|
||||
void setDebugLogLevel(int level);
|
||||
|
@@ -78,7 +78,8 @@ class Rules : public RulesProperties {
|
||||
int evaluate(int phase, Transaction *transaction);
|
||||
std::string getParserError();
|
||||
|
||||
void debug(int level, std::string message);
|
||||
void debug(int level, const std::string &id, const std::string &uri,
|
||||
const std::string &msg);
|
||||
|
||||
int64_t unicode_codepage;
|
||||
|
||||
|
Reference in New Issue
Block a user