File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1474,7 +1474,8 @@ void sec_audit_logger_json(modsec_rec *msr) {
1474
1474
/* Unlock the mutex we used to serialise access to the audit log file. */
1475
1475
rc = apr_global_mutex_unlock (msr -> modsecurity -> auditlog_lock );
1476
1476
if (rc != APR_SUCCESS ) {
1477
- msr_log (msr , 1 , "Audit log: Failed to unlock global mutex: %s" ,
1477
+ msr_log (msr , 1 , "Audit log: Failed to unlock global mutex '%s': %s" ,
1478
+ apr_global_mutex_lockfile (msr -> modsecurity -> auditlog_lock ),
1478
1479
get_apr_error (msr -> mp , rc ));
1479
1480
}
1480
1481
@@ -2254,7 +2255,8 @@ void sec_audit_logger_native(modsec_rec *msr) {
2254
2255
/* Unlock the mutex we used to serialise access to the audit log file. */
2255
2256
rc = apr_global_mutex_unlock (msr -> modsecurity -> auditlog_lock );
2256
2257
if (rc != APR_SUCCESS ) {
2257
- msr_log (msr , 1 , "Audit log: Failed to unlock global mutex: %s" ,
2258
+ msr_log (msr , 1 , "Audit log: Failed to unlock global mutex '%s': %s" ,
2259
+ apr_global_mutex_lockfile (msr -> modsecurity -> auditlog_lock ),
2258
2260
get_apr_error (msr -> mp , rc ));
2259
2261
}
2260
2262
You can’t perform that action at this time.
0 commit comments