}
$watchlist = explode(',', $this->configCache->get('system', 'db_log_index_watch'));
- $blacklist = explode(',', $this->configCache->get('system', 'db_log_index_blacklist'));
+ $denylist = explode(',', $this->configCache->get('system', 'db_log_index_denylist'));
while ($row = $this->fetch($r)) {
if ((intval($this->configCache->get('system', 'db_loglimit_index')) > 0)) {
$log = true;
}
- if (in_array($row['key'], $blacklist) || ($row['key'] == "")) {
+ if (in_array($row['key'], $denylist) || ($row['key'] == "")) {
$log = false;
}
// Watchlist of indexes to watch.
'db_log_index_watch' => '',
- // db_log_index_blacklist (Comma-separated list)
- // Blacklist of indexes that shouldn't be watched.
- 'db_log_index_blacklist' => '',
+ // db_log_index_denylist (Comma-separated list)
+ // Deny list of indexes that shouldn't be watched.
+ 'db_log_index_denylist' => '',
// db_loglimit (Integer)
// If a database call lasts longer than this value in seconds it is logged.