mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Small fixes in log messages to help debugging
This commit is contained in:
parent
b8160cce6b
commit
038522ad9b
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
v3.0.4 - YYYY-MMM-DD (to be released)
|
||||
-------------------------------------
|
||||
|
||||
- Small fixes in log messages to help debugging the file upload
|
||||
[Issue #2130 - @airween]
|
||||
- Fix Cookie header parsing issues
|
||||
[Issue #2201 - @airween, @martinhsv]
|
||||
- Fix rules with nolog are logging to part H
|
||||
|
@ -70,7 +70,7 @@ Multipart::Multipart(std:: string header, Transaction *transaction)
|
||||
|
||||
Multipart::~Multipart() {
|
||||
ms_dbg_a(m_transaction, 4,
|
||||
"Multipart: Cleanup started (remove files " \
|
||||
"Multipart: Cleanup started (keep files set to " \
|
||||
+ RulesProperties::configBooleanString(
|
||||
m_transaction->m_rules->m_uploadKeepFiles) \
|
||||
+ ")");
|
||||
@ -96,7 +96,7 @@ Multipart::~Multipart() {
|
||||
+ strerror(errno) + ")");
|
||||
} else {
|
||||
ms_dbg_a(m_transaction, 4,
|
||||
"Multipart: Failed to delete file (part) \"" \
|
||||
"Multipart: file deleted successfully (part) \"" \
|
||||
+ m->m_tmp_file_name + "\"");
|
||||
}
|
||||
|
||||
@ -516,7 +516,7 @@ int Multipart::process_part_data(std::string *error, size_t offset) {
|
||||
|
||||
ms_dbg_a(m_transaction, 4,
|
||||
"Multipart: Created temporary file " \
|
||||
+ std::to_string(m_nfiles) + " (mode 04o): " \
|
||||
+ std::to_string(m_nfiles) + " (mode o" + std::to_string(m_transaction->m_rules->m_uploadFileMode.m_value) + "): " \
|
||||
+ m_mpp->m_tmp_file_name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user