mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Adds support to SecAuditLogParts
This commit is contained in:
@@ -74,10 +74,10 @@ bool AuditLogWriterParallel::close() {
|
||||
}
|
||||
|
||||
|
||||
bool AuditLogWriterParallel::write(Assay *assay) {
|
||||
bool AuditLogWriterParallel::write(Assay *assay, int parts) {
|
||||
FILE *fp;
|
||||
int fd;
|
||||
std::string log = assay->to_json(0);
|
||||
std::string log = assay->to_json(parts);
|
||||
std::string fileName = logFilePath(&assay->timeStamp,
|
||||
YearMonthDayDirectory | YearMonthDayAndTimeDirectory
|
||||
| YearMonthDayAndTimeFileName);
|
||||
|
Reference in New Issue
Block a user