fix: [log] Condition for old access log

pull/8757/head
Jakub Onderka 2022-12-01 12:04:11 +01:00
parent ae7f9290f7
commit 1fc62ef41e
1 changed files with 2 additions and 2 deletions

View File

@ -695,8 +695,8 @@ class AppController extends Controller
}
if (
(empty(Configure::read('MISP.log_skip_access_logs_in_application_logs'))) &&
Configure::read('MISP.log_paranoid') || $userMonitoringEnabled
empty(Configure::read('MISP.log_skip_access_logs_in_application_logs')) &&
$shouldBeLogged
) {
$change = 'HTTP method: ' . $_SERVER['REQUEST_METHOD'] . PHP_EOL . 'Target: ' . $this->request->here;
if (