mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix the debuglogs for the regression tests
This commit is contained in:
@@ -41,4 +41,9 @@ std::string CustomDebugLog::log_messages() {
|
||||
}
|
||||
|
||||
|
||||
int CustomDebugLog::getDebugLogLevel() {
|
||||
return 9;
|
||||
}
|
||||
|
||||
|
||||
} // namespace modsecurity_test
|
||||
|
@@ -32,6 +32,7 @@ class CustomDebugLog : public modsecurity::debug_log::DebugLog {
|
||||
bool contains(const std::string& pattern);
|
||||
std::string log_messages();
|
||||
std::string error_log_messages();
|
||||
int getDebugLogLevel() override;
|
||||
|
||||
private:
|
||||
std::stringstream m_log;
|
||||
|
Reference in New Issue
Block a user