mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Rename system config value to db_log_index_denylist
This commit is contained in:
parent
34463f37e4
commit
530ff51898
2 changed files with 5 additions and 5 deletions
|
@ -319,7 +319,7 @@ class Database
|
|||
}
|
||||
|
||||
$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)) {
|
||||
|
@ -333,7 +333,7 @@ class Database
|
|||
$log = true;
|
||||
}
|
||||
|
||||
if (in_array($row['key'], $blacklist) || ($row['key'] == "")) {
|
||||
if (in_array($row['key'], $denylist) || ($row['key'] == "")) {
|
||||
$log = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -143,9 +143,9 @@ return [
|
|||
// 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.
|
||||
|
|
Loading…
Reference in a new issue